Description Usage Arguments Value Author(s)
compute.distance.matrix
calculates a pairwise distance matrix based on a multiple sequence
alignment. It is basically a thin wrapper to dist.dna
in ape
, with the default model
being TN93 rather than K80 and pairwise deletions considered, which returns a matrix
(rather than either a dist
object or a matrix).
1 | compute.distance.matrix(aln, model = "TN93", gamma = FALSE)
|
aln |
a multiple sequence alignment |
model |
a model of nucleotide substitution (default=TN93) |
gamma |
the gamma parameter of rate variation |
A distance matrix (as a standard R matrix)
Simon Frost (sdwfrost@gmail.com)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.