countNucleotidesAtSite: Count the number of different nucleotides at a position in a...

Description Usage Arguments Value

View source: R/plotFasta.R

Description

Function counts the number of each nucleotide (A, C, G, and T) at position in a nucleotide alignment. Used by plotFASTA function

Usage

1
countNucleotidesAtSite(position, nucleotideAlignment)

Arguments

position

A numeric integer indicating the site in the nucleotide alignment to examine

nucleotideAlignment

A matrix of DNA sequences as characters

Value

Returns the number of different nucleotides at each position in the input alignment


JosephCrispell/plotteR documentation built on June 6, 2021, 7:24 p.m.