Description Usage Arguments Value Author(s) Examples
View source: R/methylInheritanceSimInternalMethods.R
Create a synthetic chromosome with the sampling of a specified number of blocks and a specified number of consecutive CpG.
| 1 | getSyntheticChr(methInfo, nbBlock, nbCpG)
 | 
| methInfo | is object of class  | 
| nbBlock | a positive  | 
| nbCpG | a  | 
a GRanges object, the synthetic chromosome.
Pascal Belleau
| 1 2 3 4 5 6 7 8 9 | ## Load methyl information
data(samplesForChrSynthetic)
## Ensure results are reproducible
set.seed(32)
## Create synthetic chromosome
methInheritSim:::getSyntheticChr(methInfo = samplesForChrSynthetic, 
nbBlock = 10, nbCpG = 20)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.