MarchRProject DimReduction methods
marchRproject-dimreduction-methods.RdFunctions for managing DimReduction objects within a MarchRProject. These methods allow you to add, retrieve, remove, and project DimReductions.
Usage
# S3 method for class 'MarchRProject'
dim_reduction_names(x)
# S3 method for class 'MarchRProject'
get_dim_reduction(x, dim_reduction_name)
# S3 method for class 'MarchRProject'
add_dim_reduction(x, dim_reduction, dim_reduction_name, overwrite = FALSE)
# S3 method for class 'MarchRProject'
remove_dim_reduction(x, dim_reduction_name)
# S3 method for class 'MarchRProject'
project_dim_reduction(
x,
dim_reduction_name,
assay_name = character(0),
dataset_names = character(0),
output_assay_name = dim_reduction_name,
overwrite = FALSE,
...
)Arguments
- x
(MarchRProject) MarchRProject object
- dim_reduction_name
(character) Name of the DimReduction
- dim_reduction
(DimReduction) DimReduction object to add
- overwrite
(logical) If
TRUE, overwrites existing DimReduction/assay with the same name- assay_name
(character) Name of the assay to project
- dataset_names
(character) Names of the datasets to project
- output_assay_name
(character) Name to store the projected results as a new assay
- ...
Additional arguments passed to the project method
Functions
dim_reduction_names(MarchRProject): Get DimReduction names from a MarchRProjectget_dim_reduction(MarchRProject): Get a DimReduction from a MarchRProjectadd_dim_reduction(MarchRProject): Add a DimReduction to a MarchRProjectremove_dim_reduction(MarchRProject): Remove a DimReduction from a MarchRProjectproject_dim_reduction(MarchRProject): Project data using a stored DimReduction