filterOpenSea | R Documentation |
This function accepts a GRanges input of CpG islands that can be derived from UCSC table browser and rtracklayer::import(yourbed.bed)
filterOpenSea(obj, genome = c("hg19", "hg38", "mm10", "mm9"), other = NULL)
getOpenSeas(gr)
obj |
Input SummarizedExperiment or GRanges object |
genome |
Which genome to filter |
gr |
Input GRanges of CpG islands |
Filtered to open sea CpG loci
GRanges object that can be used with filterOpenSea()
data("meth_array_450k_chr14", package = "compartmap")
opensea <- filterOpenSea(array.data.chr14, genome = "hg19")
cpgi <- rtracklayer::import(system.file("inst/extdata/mm10_cpgi.bed", package = "compartmap"))
opensea_cpg <- getOpenSeas(cpgi)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.