writeNexus | R Documentation |
Writes a final concatenated (non-interleaved) or combined (interleaved)
NEXUS-formatted dataset for multigene phylogenetic analysis, from the resulting list
of equally-sized dataframes containing the input individual DNA alignments, as generated by
the functions catfullGenes
or catmultGenes
. Depending
on the chosen arguments the final NEXUS-formatted file will or will not include
a preliminary command block (including the charset of each partition).
writeNexus(x,
file,
genomics = FALSE,
interleave = TRUE,
bayesblock = TRUE,
endgaps.to.miss = TRUE,
verbose = TRUE)
x |
The object to be written, a list of equally-sized dataframes containing
the input gene datasets, as generated by \codecatfullGenes or
|
file |
Either a character string naming a file or a |
genomics |
Logical, if |
interleave |
Logical, if |
bayesblock |
Logical, if |
endgaps.to.miss |
Logical, if |
verbose |
Logical, if |
Domingos Cardoso
catfullGenes
catmultGenes
## Not run:
data(Gaya)
df <- catfullGenes(Gaya,
shortaxlabel = TRUE,
missdata = FALSE,
outgroup = "Abutilon_costicalyx")
writeNexus(df,
file = "filename.nex",
genomics = FALSE,
interleave = TRUE,
bayesblock = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.