
Run countsplitting
runCountSplit.RdFetches specified count matri(ces) from the provided input object, generates
countsplit matrices using function countsplit::countsplit() from A.
Neufeld, and stores these matrices back in the object with suffixes
provided by 'countsplit_suffix'.
Arguments
- object
An object of class
Seurat,SingleCellExperiment, orArchRProject. For multi-omic data, we recommend usingArchRProjectobjects.- key
The name under which CHOIR-related data for this run is stored in the object. Defaults to “CHOIR”.
- use_assay
For
SeuratorSingleCellExperimentobjects, a character string or vector indicating the assay(s) to use in the provided object. The default value,NULL, will choose the current active assay forSeuratobjects and thelogcountsassay forSingleCellExperimentobjects.- use_slot
For Seurat objects, a character string or vector indicating the layers(s) — previously known as slot(s) — to use in the provided object. Default =
NULLwill use the 'counts' slot.- ArchR_matrix
For
ArchRobjects, a character string or vector indicating which matrix or matrices to use in the provided object. The default value,NULL, will use the “GeneScoreMatrix” for ATAC-seq data or the “GeneExpressionMatrix” for RNA-seq data. For multi-omic datasets, provide a vector with a value corresponding to each modality.- countsplit_suffix
A character vector indicating the suffixes that distinguish the two count split matrices to be used. Suffixes are appended onto the input string/vector for parameter
use_slotforSeuratobjects,use_assayforSingleCellExperimentobjects, orArchR_matrixforArchRobjects. Default valueNULLuses suffixes "_1" and "_2".- countsplit_params
A list of additional parameters to be passed to
countsplit::countsplit().- normalization_method
A character string or vector indicating which normalization method to apply after countsplitting. Permitted values are 'none', 'log', or 'tfidf'. Defaults to 'log'. For multi-omic datasets, provide a vector with a value corresponding to each provided value of
use_assayorArchR_matrixin the same order.- verbose
A Boolean value indicating whether to use verbose output during the execution of CHOIR. Defaults to
TRUE, but can be set toFALSEfor a cleaner output.