seq_stat_gc: Compute G+C content

View source: R/seq_stat_operations.R

seq_stat_gcR 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)


bioseq documentation built on Sept. 6, 2022, 5:07 p.m.