Computing cell enrichments for multiSVD object
postprocess_cell_enrichment.multiSVD.RdComputing cell enrichments for multiSVD object
Usage
# S3 method for class 'multiSVD'
postprocess_cell_enrichment(
input_obj,
membership_vec,
max_subsample = min(1000, length(membership_vec)),
verbose = 0,
...
)Arguments
- input_obj
multiSVDobject, after usingtiltedCCA_decomposition()- membership_vec
factor vector of the same length as the number of cells in
multiSVD, denoting the cell-types for each cell- max_subsample
maximum of cells to sample for each cell-type. If there are more than
max_subsamplecells in a cell-type (dictated bymembership_vec), a random subset of cells will be selected for the sake of this function- verbose
non-negative integer
- ...
additional arguments