Description Usage Arguments Value Author(s) Examples
This function extracts GC sites in the genome
1 |
methylationData |
the methylation data stored as a |
genome |
a BSgenome with the DNA sequence of the organism |
contexts |
the context in which the DMRs are computed ( |
the a subset of methylationData
consisting of all GC sites.
Ryan Merritt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | ## Not run:
# load the genome sequence
if(!require("BSgenome.Athaliana.TAIR.TAIR9", character.only = TRUE)){
if (!requireNamespace("BiocManager", quietly=TRUE))
install.packages("BiocManager")
BiocManager::install("BSgenome.Athaliana.TAIR.TAIR9")
}
library(BSgenome.Athaliana.TAIR.TAIR9)
# load the methylation data
data(methylationDataList)
methylationDataWTGpCpG <- extractGC(methylationDataList[["WT"]],
BSgenome.Athaliana.TAIR.TAIR9,
"CG")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.