aa.count.function: Amino Acid Count

View source: R/aa.count.function.R

aa.count.functionR Documentation

Amino Acid Count

Description

Counts the number of each amino acid in each positino of the barcode.

Usage

aa.count.function(aminoAcids, seqlength)

Arguments

aminoAcids

A matrix of barcode amino acid sequences.

seqlength

Length of the amino acid sequences.

Details

The first and second column of the aminoAcid argument must contain the unique specimen identifier and the species name, respectively, followed by the amino acid sequence.

Value

A matrix containing the number of each amino acid in each position of the sequence. Each row is a different amino acid count, while the columns represent the sequence position.

Author(s)

Taryn B. T. Athey and Paul D. McNicholas

Examples

## Not run: data(birds_aminoAcids)
birds_aminoAcid_count <- aa.count.function(birds_aminoAcids, 216)
## End(Not run)

VLF documentation built on Aug. 18, 2022, 5:06 p.m.