seq_stat_gc {bioseq} | R Documentation |
Compute G+C content
Description
Compute G+C content
Usage
seq_stat_gc(x)
Arguments
x |
a DNA or RNA |
Details
Ambiguous characters (other than S and W) are ignored.
Value
A numeric vector of G+C proportions.
See Also
Other op-misc:
seq_disambiguate_IUPAC()
,
seq_nchar()
,
seq_nseq()
,
seq_spellout()
,
seq_stat_prop()
Examples
x <- dna(c("ATGCAGA", "GGR-----","TTGCCTAGKTGAACC"))
seq_stat_gc(x)
[Package bioseq version 0.1.4 Index]