Description Usage Arguments Details Value Author(s)
Check for ambiguities or other characters that are not allowed in haplotypes.
1 2 |
file |
path and file name for a DNA alignment (character) |
format |
format of the DNA alignment (passed to
|
quiet |
if |
Namb |
should Ns be considered ambiguities? (logical) |
simplify |
if |
... |
additional arguments to be passed to ape:::read.dna |
This function takes a DNA alignment and looks for characters in the sequence that are not A, C, T, G, -, ? (and optionally N). It ignores case.
If there are no ambiguities, the function returns a
zero-length integer vector. Otherwise, it returns a named list
which includes for each sequence, the position in the alignment of
the ambiguities for each sequence that has one or more ambiguities
(if simplify=TRUE
), and is named using the ambiguity. if
quiet=FALSE, this vector is returned invisibly in addition of the
Francois Michonneau
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.