# NOT RUN {
data(methylKit)
# Simualte data for 4 samples with 20000 sites each.
# The methylation in 10% of the sites are elevated by 50%.
my.methylBase=dataSim(replicates=4,sites=2000,treatment=c(1,1,0,0),
percentage=10,effect=25)
# Simulate data with variable effect sizes of the treatment
# The methylation in 30% of the sites are elevated by 40%, 50% or 60%.
my.methylBase2=dataSim(replicates=4,sites=2000,treatment=c(1,1,0,0),
percentage=30,effect=10:40)
# }
Run the code above in your browser using DataLab