simulateDoublets-DsATACsc-method: simulateDoublets-methods

Description Usage Arguments Value Author(s)

Description

EXPERIMENTAL: Simulate doublets by adding counts in matrices for each region set

Usage

1
2
## S4 method for signature 'DsATAC'
simulateDoublets(.object, byGroup = NULL, n = 10000, sampleRatio = 1)

Arguments

.object

DsATACsc object

byGroup

sample by group. Must be a column name in the sample annotation table

n

number of doublets to simulate (per group)

sampleRatio

fraction of non-zero events to subsample. If 0 < sampleRatio < 1, the individual cell counts will be subsampled for each region.

Value

an DsATACsc object containing counts for simulated doublets. Fragment data will be discarded.

Author(s)

Fabian Mueller


demuellae/ChrAccR documentation built on Jan. 20, 2020, 3:03 a.m.