Description Usage Arguments Details Author(s) Examples
rnegbinmix_syn_nonsyn simulates counts of synonymous and non-synonymous mutations, using a negative binomial and a negative binomial mixture, respectively, with the same parameters alpha and beta.
1  | rnegbinmix_syn_nonsyn(n, alpha, beta, c, p)
 | 
n | 
 number of genes  | 
alpha | 
 scalar, positive  | 
beta | 
 scalar, positive  | 
c | 
 numeric, positive, length k  | 
p | 
 numeric, probability vector, length k  | 
The function MASS::rnegbin from package MASS is used for the simulation of negative binomial data. The function rnegbinmix is used for the negative binomial mixture.
Johanna Bertl
1 2 3 4 5 6 7 8  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.