identifyCpG {methyAnalysis} | R Documentation |
Identify the CpG-site locations from a genome library
identifyCpG(bsgenome = "Hsapiens", seqnames, genomeLib = "BSgenome.Hsapiens.UCSC.hg19", pattern = "CG")
bsgenome |
a BSgenome object or variant name in the genomeLib |
seqnames |
chromosome names, if missing all chromosomes will be used. |
genomeLib |
the BSgenome library in Bioconductor |
pattern |
the sequence pattern to be matched. |
a GRanges object with CpG-site locations
Pan Du
# library(GenomicFeatures) # library(BSgenome) # seqnames <- paste('chr', c(1:22, 'X', 'Y', 'M'), sep='')