View source: R/raxml.partitions.R
raxml.partitions | R Documentation |
Given a set of DNA sequence alignments, raxml.partitions
creates a data frame with partition bounderies that can be input into raxml
.
raxml.partitions(...)
... |
Two or more DNA sequence alignments of class |
For raxml.partitions
to make sense, the DNA sequence alignments must be given exactly in the same order in which they are concatenated into a supermatrix (see Examples section). Without any testing, the type of sequences is supposed to be DNA.
A data frame with four columns (type
, locus
, begin
, and end
) and number of rows corresponding to the number of partitions.
cbind.DNAbin
to concatenate multiple alignments; raxml
for an interface to RAxML.
## bark beetle sequences
data(ips.cox1)
data(ips.16S)
data(ips.28S)
## Note the same order of individual
## alignments in both functions:
## ----------------------------
raxml.partitions(cox1 = ips.cox1,
r16S = ips.16S,
r28S = ips.28S)
cbind(ips.cox1, ips.16S, ips.28S,
fill.with.gaps = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.