Learn R Programming

VLF (version 1.1)

aa.count.function: Amino Acid Count

Description

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

Usage

aa.count.function(aminoAcids, seqlength)

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.

Arguments

aminoAcids

A matrix of barcode amino acid sequences.

seqlength

Length of the amino acid sequences.

Author

Taryn B. T. Athey and Paul D. McNicholas

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.

Examples

Run this code
if (FALSE) data(birds_aminoAcids)
birds_aminoAcid_count <- aa.count.function(birds_aminoAcids, 216)

Run the code above in your browser using DataLab