fasta.read: Read Fasta Files

Description Usage Arguments Value Author(s)

View source: R/fasta.read.R

Description

Reads in fasta files and converts into sequence matrix

Usage

1
fasta.read(file, seqlength = 648, pos1 = 1, pos2 = 3)

Arguments

file

A fasta file to be read in.

seqlength

Length of sequence.

pos1

The position within the fasta title of the unique specimen identifier. By default pos1 = 1.

pos2

The position within the fasta title of the species name. By default pos2 = 3.

Value

A matrix of sequences, with the unique specimen identifers in the first column, the species names in the second column, and the sequence starting in the third column.

Author(s)

Taryn B. T. Athey and Paul D. McNicholas


VLF documentation built on May 1, 2019, 10:20 p.m.