# NOT RUN {
# Simulate a cellularity of 0.5, ploidy of 2 and types from min CNt 0
# and max = 4 on an originally diploid genome:
types <- baf.types.matrix(CNt.min = 0, CNt.max = 4, CNn = 2)
cbind(types, baf.model.points(cellularity = 0.5, ploidy = 2,
baf_types = types, avg.depth.ratio = 1))
# Simulate a cellularity of 0.5, ploidy of 2 and types from min CNt 0
# and max = 4 on an originally monoallelic genome:
types <- mufreq.types.matrix(CNt.min = 0, CNt.max = 4, CNn = 1)
cbind(types, mufreq.model.points(cellularity = 0.5, ploidy = 2,
mufreq_types = types, avg.depth.ratio = 1))
# }
Run the code above in your browser using DataLab