Description Usage Arguments Details Value Examples
Estimate simulation parameters for the simple simulation from a real dataset.
1 2 3 4 5 6 7 8 | simpleEstimate(counts, params = newSimpleParams())
## S3 method for class 'SingleCellExperiment'
simpleEstimate(counts,
params = newSimpleParams())
## S3 method for class 'matrix'
simpleEstimate(counts, params = newSimpleParams())
|
counts |
either a counts matrix or a SingleCellExperiment object containing count data to estimate parameters from. |
params |
SimpleParams object to store estimated values in. |
The nGenes
and nCells
parameters are taken from the size of the
input data. The mean parameters are estimated by fitting a gamma distribution
to the library size normalised mean expression level using
fitdist
. See SimpleParams
for more
details on the parameters.
SimpleParams object containing the estimated parameters.
1 2 3 4 5 6 | # Load example data
library(scater)
data("sc_example_counts")
params <- simpleEstimate(sc_example_counts)
params
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.