getSyntheticChr {methInheritSim} | R Documentation |
Create a synthetic chromosome with the sampling of a specified number of blocks and a specified number of consecutive CpG.
getSyntheticChr(methInfo, nbBlock, nbCpG)
methInfo |
is object of class |
nbBlock |
a positive |
nbCpG |
a |
a GRanges
object, the synthetic chromosome.
Pascal Belleau
## Load methyl information data(samplesForChrSynthetic) ## Ensure results are reproducible set.seed(32) ## Create synthetic chromosome methInheritSim:::getSyntheticChr(methInfo = samplesForChrSynthetic, nbBlock = 10, nbCpG = 20)