tech_trend | R Documentation |
Make a technical trend using scran makeTechTrend
and decompose the gene-level variance using scran modelGeneVar
.
tech_trend( sce, dispersion = 0, assay_type = "logcounts", block = NULL, design = NULL, ncores = 1, prefix = NULL, plot = TRUE )
sce |
A SingleCellExperiment object containing expression values, usually counts. |
dispersion |
A numeric scalar specifying the dispersion for the NB distribution. If zero, a Poisson distribution is used. |
assay_type |
A string specifying which assay values to use, e.g., "counts" or "logcounts". |
block |
A factor specifying the blocking levels for each cell in |
design |
A numeric matrix containing blocking terms for uninteresting factors of variation. |
ncores |
Number of cores. |
prefix |
Prefix for file name for the QC metrics histograms. |
plot |
TRUE/FASLE for whether plot the QC metrics histograms. |
A list of a dataframe for the variance components and a function accepting a mean log-expression as input and returning the variance of tecnical noise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.