read.alignment.file: Read a fasta-formatted alignment file

Description Usage Arguments Value Examples

View source: R/read.alignment.file.R

Description

Read a fasta-formatted alignment file

Usage

1
read.alignment.file(aas_file = NULL, alignment_format = "fasta")

Arguments

aas_file

File containing aligned protein sequences

alignment_format

Format of alignment file/s; must be one of these: fasta, clustal, phylip, msf, or mase.

Value

A matrix that contains the alignment.

Examples

1
2
3
4
5
## Not run: 
aln <- read.alignment.file(system.file("extdata", "CH505-gp160.fasta", 
                                        package="lassie"))

## End(Not run)

phraber/lassie documentation built on Sept. 25, 2018, 8:31 a.m.