runCellQC | R Documentation |
A wrapper function to run several QC algorithms on a SingleCellExperiment object containing cells after empty droplets have been removed.
runCellQC(
inSCE,
algorithms = c("QCMetrics", "scDblFinder", "cxds", "bcds", "cxds_bcds_hybrid",
"decontX", "decontX_bg", "soupX", "soupX_bg"),
sample = NULL,
collectionName = NULL,
geneSetList = NULL,
geneSetListLocation = "rownames",
geneSetCollection = NULL,
mitoRef = "human",
mitoIDType = "ensembl",
mitoPrefix = "MT-",
mitoID = NULL,
mitoGeneLocation = "rownames",
useAssay = "counts",
background = NULL,
bgAssayName = NULL,
bgBatch = NULL,
seed = 12345,
paramsList = NULL
)
inSCE |
A SingleCellExperiment object. |
algorithms |
Character vector. Specify which QC algorithms to run. Available options are "QCMetrics", "scrublet", "doubletFinder", "scDblFinder", "cxds", "bcds", "cxds_bcds_hybrid", "decontX" and "soupX". |
sample |
Character vector. Indicates which sample each cell belongs to. Algorithms will be run on cells from each sample separately. |
collectionName |
Character. Name of a |
geneSetList |
See |
geneSetListLocation |
See |
geneSetCollection |
See |
mitoRef , mitoIDType , mitoPrefix , mitoID , mitoGeneLocation |
Arguments used to import mitochondrial genes and quantify their expression. Please see runPerCellQC for detailed information. |
useAssay |
A string specifying which assay contains the count matrix for cells. |
background |
A SingleCellExperiment
with the matrix located in the assay slot under |
bgAssayName |
Character. Name of the assay to use if background is a
SingleCellExperiment. If NULL, the function
will use the same value as |
bgBatch |
Batch labels for |
seed |
Seed for the random number generator. Default 12345. |
paramsList |
A list containing parameters for QC functions. Default NULL. |
SingleCellExperiment object containing the outputs of the
specified algorithms in the colData
of inSCE
.
data(scExample, package = "singleCellTK")
sce <- subsetSCECols(sce, colData = "type != 'EmptyDroplet'")
## Not run:
sce <- runCellQC(sce)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.