seq_stat_gc {bioseq} | R Documentation |
Compute G+C content
seq_stat_gc(x)
x |
a DNA or RNA |
Ambiguous characters (other than S and W) are ignored.
A numeric vector of G+C proportions.
Other op-misc:
seq_disambiguate_IUPAC()
,
seq_nchar()
,
seq_nseq()
,
seq_spellout()
,
seq_stat_prop()
x <- dna(c("ATGCAGA", "GGR-----","TTGCCTAGKTGAACC"))
seq_stat_gc(x)