Description Usage Arguments Value Examples
This function writes a dataframe out as a FASTA format file
1 |
df |
a dataframe containing two columns: the sequence name and amino acid sequence itself |
file |
file path to save the named file to |
A FASTA file where protein sequences are represented in two lines: The protein name preceded by a greater than symbol, and a new second line that contains the protein sequence
1 2 3 4 | my_protein <- read_faa(system.file("extdata/bat_protein.fasta", package = "ampir"))
# Write a dataframe to a FASTA file
df_to_faa(my_protein, tempfile("my_protein.fasta", tempdir()))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.