seq_stat_gc: Compute G+C content

Description Usage Arguments Details Value See Also Examples

View source: R/seq_stat_operations.R

Description

Compute G+C content

Usage

1

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

1
2
3
x <- dna(c("ATGCAGA", "GGR-----","TTGCCTAGKTGAACC"))

seq_stat_gc(x)

bioseq documentation built on Nov. 26, 2020, 9:07 a.m.