Usage
Clomial.generate.data(N, C, S, averageCoverage, mutFraction,
doSample1Normal = FALSE,erroRate=0,doCheckDc=TRUE)
Arguments
N
The number of genomic loci.
averageCoverage
The average coverage over each loci, each sample.
mutFraction
Should be in range 0-1. Each loci in every sample can be mutated
with this probability.
doSample1Normal
If TRUE, no contamination with the tumor content is allowed for
the normal sample. I.e. the first column of the generated P
matrix will start with 1, and the rest of its entries will be equal to 0.
erroRate
The sequencing noise can be simulated by assigning a positive value
to this parameter, which is the probability of reading a normal
allele as the alternative allele, and vica versa.
doCheckDc
If TRUE, generating with be repeated until no row of Dc is all zeros to guarantee
all loci have positive coverage in at least one sample.