Usage
simu.data(n.germline = 10000, segment.length = 100, seed = NULL, pc, read = 100, ps, dis = "Normal", parameter = NULL)
Arguments
n.germline
is number with the total number of generating data which contains non-CNAs and non-SNVs. The default is 10000.
segment.length
is number with the number of loci of every segment and the number is common divisor of n.germline. The default is 100.
seed
is number that you can reproduce the simulation result and default is NULL.
pc
is vector with the proportion of CNAs mutation of every segment.
read
is number with the standard total read depth.
ps
is vector with the proportion of SNVs mutation.
dis
is distribution with generating the data and the default is Normal distribution. We provide Poisson and Negative binomial distribution to choose.
parameter
is number and default is NULL. If dis is Normal and parameter is not NULL, then the standard deviation is parameter x mean. If dis is Normal and parameter is NULL, then the standard deviation is mean. If dis is Negative binomial and parameter is NULL, then the parameter is second parameter. If dis is Negative binomial and parameter NULL, then the second parameter is 0.5.