Description Usage Arguments Value Examples
View source: R/getGammaMutRates.R
Get a vector of mutation rates from a gamma distribution by specifying the mean and std. dev. of the distribution
1 | getGammaMutRates(n, gmean = 1e-04, gstd = 1e-05)
|
n |
Number of loci to select rates for |
gmean |
Mean of the gamma distribution |
gstd |
Std Dev of the gamma distribution |
a vector of mutation rates (type numeric)
1 2 3 4 | rates = getGammaMutRates(1000,gmean=0.0001, gstd=0.0001)
hist(rates)
rates = getGammaMutRates(1000,gmean=0.0001, gstd=0.00001)
hist(rates)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.