Learn R Programming

hoardeR (version 0.9.2)

importFA: Importing a Fasta File.

Description

This function imports a standard fasta file.

Usage

importFA(file)

Arguments

file

Specifies the filename/path.

Value

An object of class fa containing the sequences. The names correspond to the sequence names given in the fasta file.

Details

This function imports a standard fasta file. It assumes that label and sequence lines are alternating, meaning in the odd lines are the sequence names given, starting with > and in the even rows are the corresponding sequences.

See Also

print.fa, summary.fa

Examples

Run this code
# NOT RUN {
importFA(file="myFasta.fa")
# }

Run the code above in your browser using DataLab