View source: R/splat-estimate.R
splatEstimate | R Documentation |
Estimate simulation parameters for the Splat simulation from a real dataset. See the individual estimation functions for more details on how this is done.
splatEstimate(counts, params = newSplatParams())
## S3 method for class 'SingleCellExperiment'
splatEstimate(counts, params = newSplatParams())
## S3 method for class 'matrix'
splatEstimate(counts, params = newSplatParams())
counts |
either a counts matrix or a SingleCellExperiment object containing count data to estimate parameters from. |
params |
SplatParams object to store estimated values in. |
SplatParams object with estimated values.
splatEstMean
, splatEstLib
,
splatEstOutlier
, splatEstBCV
,
splatEstDropout
# Load example data
library(scuttle)
set.seed(1)
sce <- mockSCE()
params <- splatEstimate(sce)
params
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.