splatEstimate {splatter} | 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(scater) set.seed(1) sce <- mockSCE() params <- splatEstimate(sce) params