Description Usage Arguments Value Author(s) See Also
Get the frequencies of characters in an alignment
1 | base.freq.msa(x, seq = NULL, ignore.missing = TRUE, ignore.gaps = TRUE)
|
x |
An object of type |
seq |
A vector of character strings identifying the sequence(s)
to get base frequencies for. If |
ignore.missing |
If TRUE, ignore missing data characters ("N" and "?"). Must be TRUE if seq is stored as a pointer. |
ignore.gaps |
If TRUE, ignore gaps. Must be TRUE if seq is stored as a pointer. |
A data frame with one row for each unique state (usually "A", "C", "G", "T", and possibly "N", "?", "-", counts for each state, and overall frequency of each state.
Melissa J. Hubisz
statfreq.msa
, which gets observed frequencies of states
in an alignment with respect to a substitution model, and works for
pointers.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.