# \donttest{
# Generating simulated data
sd = SimData()
## Specifying seed, genes, and clusters
# sd = SimData(seed = 42, gene = 18, c(10,40,50))
# Specifying probability distribution of SNP data
l = list( c(10, 35, 55),
c(60, 20, 20),
c(25, 50, 25))
sd = SimData(1, g = 36, ProbDist = l)
sd = SimData(1, g = 36, c(33,33,34))
# Same SNP distribution across 2 clusters
ssnp = SimData(g = 36, k = c(10,90), SameSNP = TRUE)
# Same CpG distribution across 2 cluster
scpg = SimData(g = 36, k = c(10,90), SameCPG = TRUE)
# }
Run the code above in your browser using DataLab