Description Usage Arguments Details Value Examples
perpare nexus file to run paup
1 | write_paup(fasta_file, newick_file, outgroup, output_file)
|
fasta_file |
string. sequence file in FASTA format. see
|
newick_file |
string. tree file in Newick format. |
outgroup |
character. name of outgroups, |
output_file |
string. path to the output NEXUS file. |
for fasta_file
, newick_file
and outgroup
only
[[:alnum:]_]
are allowed in taxon name (sequence header)
NULL
1 2 3 4 5 6 7 8 9 10 | temp_file <- tempfile()
write_paup(
system.file('extdata', 'EOG090F05Z3.fasta', package = 'mcapomorphy'),
system.file('extdata', 'omics.tre', package = 'mcapomorphy'),
aves::outgroup$species, temp_file
)
## Not run:
system2('paup4a159', 'data-raw/EOG090F05Z3.nexus -n -u', T)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.