Learn R Programming

VLF (version 1.1)

ffrequency.matrix.function: Frequency Matrix

Description

Calculates the frequency of each dNTP in each position of a nucleotide count matrix.

Usage

ffrequency.matrix.function(count.matrix, seqlength)

Value

A matrix of the frequencies for each dNTP in each position of the barcode sequence.

Arguments

count.matrix

A matrix of the counts for each dNTP from a matrix of aligned sequences.

seqlength

Length of sequences.

Author

Taryn B. T. Athey and Paul D. McNicholas

Details

The argument count.matrix can be calculated using the function count.function.

Examples

Run this code
if (FALSE) #Nucleotide VLF analysis
data(birds)
Nuc.count <- count.function(birds, specimen.Number, 648)
frequency.matrix <- ffrequency.matrix.function(Nuc.count, 648)

Run the code above in your browser using DataLab