Description Usage Arguments Details Value Author(s) References Examples
prepSim
prepares an input SCE for simulation
with muscat
's simData
function by
basic filtering of genes and cells
(optional) filtering of subpopulation-sample instances
estimation of cell (library sizes) and gene parameters (dispersions and sample-specific means), respectively.
1 2 3 4 5 6 7 8 9 |
x |
a |
min_count, min_cells |
used for filtering of genes; only genes with
a count > |
min_genes |
used for filtering cells;
only cells with a count > 0 in >= |
min_size |
used for filtering subpopulation-sample combinations;
only instances with >= |
group_keep |
character string; if |
verbose |
logical; should information on progress be reported? |
For each gene g, prepSim
fits a model to estimate
sample-specific means β_g^s, for each sample s,
and dispersion parameters φ_g using edgeR
's
estimateDisp
function with default parameters.
Thus, the reference count data is modeled as NB distributed:
Y_{gc} \sim NB(μ_{gc}, φ_g)
for gene g and cell c, where the mean μ_{gc} = \exp(β_{g}^{s(c)}) \cdot λ_c. Here, β_{g}^{s(c)} is the relative abundance of gene g in sample s(c), λ_c is the library size (total number of counts), and φ_g is the dispersion.
a SingleCellExperiment
containing, for each cell, library size (colData(x)$offset
)
and, for each gene, dispersion and sample-specific mean estimates
(rowData(x)$dispersion
and $beta.sample_id
, respectively).
Helena L Crowell
Crowell, HL, Soneson, C, Germain, P-L, Calini, D, Collin, L, Raposo, C, Malhotra, D & Robinson, MD: On the discovery of population-specific state transitions from multi-sample multi-condition single-cell RNA sequencing data. bioRxiv 713412 (2018). doi: https://doi.org/10.1101/713412
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.