powered by
Compute the GC content for regions of a reference sequence.
gcContent(regions, ref)
library(BSgenome.Hsapiens.1000genomes.hs37d5) regs = GRanges(c("1", "2"), IRanges(1e7, width = 100)) gc = gcContent(regs, BSgenome.Hsapiens.1000genomes.hs37d5)
Run the code above in your browser using DataLab