seq_stat_prop {bioseq} | R Documentation |
Compute proportions for characters
Description
Compute proportions for characters
Usage
seq_stat_prop(x, gaps = FALSE)
Arguments
x |
a DNA, RNA or AA vector. |
gaps |
if |
Value
A list of vectors indicating the proportion of characters in each sequence.
See Also
Other op-misc:
seq_disambiguate_IUPAC()
,
seq_nchar()
,
seq_nseq()
,
seq_spellout()
,
seq_stat_gc()
Examples
x <- dna(c("ATGCAGA", "GGR-----","TTGCCTAGKTGAACC"))
seq_stat_prop(x)
seq_stat_prop(x, gaps = TRUE)
[Package bioseq version 0.1.4 Index]