Description Usage Arguments Details Value Examples
Estimate simulation parameters for the Lun simulation from a real dataset.
1 2 3 4 5 6 7 | lunEstimate(counts, params = newLunParams())
## S3 method for class 'SingleCellExperiment'
lunEstimate(counts, params = newLunParams())
## S3 method for class 'matrix'
lunEstimate(counts, params = newLunParams())
|
counts |
either a counts matrix or an SingleCellExperiment object containing count data to estimate parameters from. |
params |
LunParams object to store estimated values in. |
The nGenes
and nCells
parameters are taken from the size of the
input data. No other parameters are estimated. See LunParams
for more details on the parameters.
LunParams object containing the estimated parameters.
1 2 3 4 5 6 7 | # Load example data
library(scater)
set.seed(1)
sce <- mockSCE()
params <- lunEstimate(sce)
params
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.