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
8
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 containing the estimated parameters.

See Also

splatEstMean, splatEstLib, splatEstOutlier, splatEstBCV, splatEstDropout

Examples

1
2
3
4
5
6
# Load example data
library(scater)
data("sc_example_counts")

params <- splatEstimate(sc_example_counts)
params

splatter documentation built on Dec. 7, 2018, 6 p.m.