simATACGenerate: Estimate and simulate simATAC simulation parameters

Description Usage Arguments Value See Also

View source: R/ExtraFunctions.R

Description

Estimate parameters for the simATAC simulation from a real bin by cell input matrix, and use them for simualting final counts.

Usage

1
2
3
4
5
6
7
simATACGenerate(
  count = NULL,
  object = newsimATACCount(),
  default = TRUE,
  verbose = TRUE,
  ...
)

Arguments

count

Either a sparse bin by cell count matrix, or a SingleCellExperiment object containing the count matrix to estimate parameters from.

object

A simATACCount object to store estimated parameters and the count matrix in it.

default

Logical variable. Sets default parameters if TRUE.

verbose

Logical variable. Prints the simulation progress if TRUE.

...

Any additional parameter settings to override what is provided in simATACCount object.

Value

SingleCellExperiment object containing the estimated counts and parameters.

See Also

simATACEstimate, setParameters simATACSimulate


bowang-lab/simATAC documentation built on Jan. 28, 2021, 1:22 a.m.