Description Usage Arguments Value Note Examples
This function reads a FASTA amino acids file into a dataframe
1 |
file |
file path to the FASTA format file containing the protein sequences |
Dataframe containing the sequence name (seq_name) and sequence (seq_aa) columns
This function was adapted from 'read.fasta.R' by Jinlong Zhang (jinlongzhang01@gmail.com) for the phylotools package (http://github.com/helixcn/phylotools)
1 2 3 4 5 | read_faa(system.file("extdata/bat_protein.fasta", package = "ampir"))
## Output
# seq_name seq_aa
# [1] G1P6H5_MYOLU MALTVRIQAACLLLLLLASLTSYSL....
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.