View source: R/reasonableMutationMatrix.R
reasonableMutationMatrix | R Documentation |
Entries where pj < mij are unreasonable and are detected
reasonableMutationMatrix(mutmat, p, verbose = FALSE)
mutmat |
A mutation matrix. |
p |
A vector with allele frequencies of the same length as the size of mutmat. |
verbose |
Logical. |
Number of cases where pj < mij
Thore Egeland
n = 4
p = 1:n/sum(1:n)
names(p) = 1:n
mutmat = mutationMatrix("equal", p, rate = 0.5)
reasonableMutationMatrix(mutmat, p, verbose = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.