View source: R/seq_stat_operations.R
| seq_stat_prop | R Documentation |
Compute proportions for characters
seq_stat_prop(x, gaps = FALSE)
x |
a DNA, RNA or AA vector. |
gaps |
if |
A list of vectors indicating the proportion of characters in each sequence.
Other op-misc:
seq_disambiguate_IUPAC(),
seq_nchar(),
seq_nseq(),
seq_spellout(),
seq_stat_gc()
x <- dna(c("ATGCAGA", "GGR-----","TTGCCTAGKTGAACC"))
seq_stat_prop(x)
seq_stat_prop(x, gaps = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.