View source: R/GetCpGsInRegion.R
GetCpGsInRegion | R Documentation |
Extract probe IDs for CpGs located in a genomic region
GetCpGsInRegion( regionName_char, region_gr = NULL, genome = c("hg19", "hg38"), arrayType = c("450k", "EPIC"), manifest_gr = NULL, ignoreStrand = TRUE )
regionName_char |
character string with location information for one
region in the format |
region_gr |
An object of class |
genome |
human genome of reference hg19 (default) or hg38 |
arrayType |
Type of array, 450k or EPIC |
manifest_gr |
A GRanges object with the genome manifest (as returned by
|
ignoreStrand |
Whether strand can be ignored, default is TRUE |
vector of CpG probe IDs mapped to the genomic region
myRegion_gr <- RegionsToRanges("chr22:18267969-18268249") GetCpGsInRegion( region_gr = myRegion_gr, genome = "hg19", arrayType = "450k", ignoreStrand = TRUE )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.