fas2bin | R Documentation |
fas2bin(infile, outfile, ...)
infile |
The address of the FASTA file to be converted. If not in the current working directory, provide the full address. The FASTA file must contain amino acid sequences, not DNA sequences. |
outfile |
The name (or full address, if necessary) of the output FASTA file to be written, containing the binary matrix. |
... |
Any other arguments that can be passed to the function |
This code makes use of the function make.binary
from the same package. See documentation of that function for more details on requirements for the binary matrix.
The converted matrix, where there can only be two states per column.
Andrew Hipp and Kasey Pham
make.binary
, write.fasta
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.