Description Usage Arguments Value
View source: R/Deconvolution.R
Clustering QC for single cells from one subject
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | SCDC_qc_ONE(
sc.eset,
ct.varname,
sample,
scsetname = "Single Cell",
ct.sub,
iter.max = 1000,
nu = 1e-04,
epsilon = 0.01,
arow = NULL,
weight.basis = F,
qcthreshold = 0.7,
generate.figure = T,
cbPalette = c("#999999", "#E69F00", "#56B4E9", "#009E73", "#F0E442", "#0072B2",
"#D55E00", "#CC79A7"),
...
)
|
sc.eset |
ExpressionSet object for single cells |
ct.varname |
variable name for 'cell type' |
sample |
variable name for subject/sample |
scsetname |
the name for the single cell dataset |
ct.sub |
a subset of cell types that are selected to construct basis matrix |
iter.max |
the maximum number of iteration in WNNLS |
nu |
a small constant to facilitate the calculation of variance |
epsilon |
a small constant number used for convergence criteria |
arow |
annotation of rows for pheatmap |
qcthreshold |
the probability threshold used to filter out questionable cells |
generate.figure |
logical. If generate the heatmap by pheatmap or not. default is TRUE. |
a list including: 1) a probability matrix for each single cell input; 2) a clustering QCed ExpressionSet object; 3) a heatmap of QC result.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.