Run countsplitting
runCountSplit.Rd
Fetches 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 usingArchRProject
objects.- key
The name under which CHOIR-related data for this run is stored in the object. Defaults to “CHOIR”.
- use_assay
For
Seurat
orSingleCellExperiment
objects, 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 forSeurat
objects and thelogcounts
assay forSingleCellExperiment
objects.- 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 =
NULL
will use the 'counts' slot.- ArchR_matrix
For
ArchR
objects, 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_slot
forSeurat
objects,use_assay
forSingleCellExperiment
objects, orArchR_matrix
forArchR
objects. Default valueNULL
uses 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_assay
orArchR_matrix
in 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 toFALSE
for a cleaner output.