cnvSimPool: Generate a simulated pool of samples

Description Usage Arguments Details See Also

View source: R/cnvSimPool.R

Description

cnvSimPool is a convenience wrapper to generate a pool of samples from the same interval object to mimic a multiplexed capture.

Usage

1
2
3
4
5
6
7
cnvSimPool(
  nSubjects = 16L,
  countRange = c(8000000L, 14000000L),
  interval = cnvSimInterval(),
  seed = NULL,
  ...
)

Arguments

nSubjects

integer of length 1, the number of samples

countRange

integer of length 2, the bounds for the number of molecules per sample, see details

interval

data.table interval object with 'captureProb' field, see details

seed

integer, passed to set.seed()

...

passed to cnvSimCounts()

Details

The number of molecules per sample is drawn from a uniform distribution with the bounds given by 'countRange'.

The number of reads per sample is passed as the seed to cnvSimCounts. This allows the simulated pools to be completely reproducible.

See Also

cnvSimCounts cnvSimPool


daynefiler/mcCNV documentation built on Dec. 15, 2021, 3:58 a.m.