splatEstimate: Estimate Splat simulation parameters

Description Usage Arguments Value See Also Examples

View source: R/splat-estimate.R

Description

Estimate simulation parameters for the Splat simulation from a real dataset. See the individual estimation functions for more details on how this is done.

Usage

1
2
3
4
5
6
7
splatEstimate(counts, params = newSplatParams())

## S3 method for class 'SingleCellExperiment'
splatEstimate(counts, params = newSplatParams())

## S3 method for class 'matrix'
splatEstimate(counts, params = newSplatParams())

Arguments

counts

either a counts matrix or a SingleCellExperiment object containing count data to estimate parameters from.

params

SplatParams object to store estimated values in.

Value

SplatParams object with estimated values.

See Also

splatEstMean, splatEstLib, splatEstOutlier, splatEstBCV, splatEstDropout

Examples

1
2
3
4
5
6
7
# Load example data
library(scater)
set.seed(1)
sce <- mockSCE()

params <- splatEstimate(sce)
params

splatter documentation built on Dec. 3, 2020, 2:01 a.m.