Learn R Programming

ampir (version 1.1.0)

read_faa: Read FASTA amino acids file into a dataframe

Description

This function reads a FASTA amino acids file into a dataframe

Usage

read_faa(file = NULL)

Arguments

file

file path to the FASTA format file containing the protein sequences

Value

Dataframe containing the sequence name (seq_name) and sequence (seq_aa) columns

Examples

Run this code
# NOT RUN {
read_faa(system.file("extdata/bat_protein.fasta", package = "ampir"))

## Output
#         seq_name              seq_aa
# [1] G1P6H5_MYOLU  MALTVRIQAACLLLLLLASLTSYSL....
# }

Run the code above in your browser using DataLab