Counts the number of each dNTP in each position of an aligned barcode matrix.
Usage
count.function(nucleotides, spec.no, seqlength)
Value
A matrix containing the number of each nucleotide in each position of the sequence. Each row is a different dNTP count, while the columns represent the sequence position.
Arguments
nucleotides
A matrix of aligned DNA barcode sequences. DNA sequences should start at the third column of the matrix, while the first column contains a unique specimen identifier and the second column contains the species name.
spec.no
The number of specimen/sequences in the nucldeotide matrix.