Description Usage Arguments Details Value Examples
internal function for write_paup()
1 | fasta_to_nexus(fasta, datatype, missing = "?", gap = "-")
|
fasta |
tibble. see Value of |
datatype |
string. what kind of data is you fasta. ( |
missing |
string. symbol used for missing data |
gap |
string. symbol used for gap |
the return value will be printed when call at console, if the file
is big, it will take a while, and you can't do anything. Consider
fasta_to_nexus() -> x
to avoid automatically printing.
Alternatively, you can use seaview But it may take several seconds if each sequence lies on only one line in the original file, because seaview always force the line width less than 80.
character. A Nexus data block. Note that begining '#nexus' isn't included.
1 2 | fasta <- biozhuoer::read_fasta(system.file('extdata', 'EOG090F05Z3.fasta', package = 'mcapomorphy'))
fasta_to_nexus(fasta, 'protein');
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.