is.ambig | R Documentation |
Checks what columns in an alignment have ambiguous bases or missing data.
is.ambig(DNAbin)
DNAbin |
A DNA alignment of class ‘DNAbin’. |
Ambiguous bases are bases that have been coded with any of the Union of Pure and Applied Chemistry (IUPAC) DNA codes that are not A, C, G, or T. Missing data are bases that have been coded with "-", "?" or "N".
A logical vector containing TRUE if ambiguous bases or missing data are present, FALSE if not. Does not differentiate between the two classes of data.
Samuel Brown <s_d_j_brown@hotmail.com>
checkDNA
data(woodmouse)
is.ambig(woodmouse)
#Columns with ambiguous bases
which(is.ambig(woodmouse))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.