GetCpGsInRegion: Extract probe IDs for CpGs located in a genomic region

Description Usage Arguments Value Examples

View source: R/GetCpGsInRegion.R

Description

Extract probe IDs for CpGs located in a genomic region

Usage

1
2
3
4
5
GetCpGsInRegion(
  regionName_char,
  genome = c("hg19", "hg38"),
  arrayType = c("450k", "EPIC")
)

Arguments

regionName_char

character string with location information for one region in this format: "chrxx:xxxxxx-xxxxxx"

genome

human genome of reference hg19 (default) or hg38

arrayType

Type of array, 450k or EPIC

Value

vector of CpG probe IDs mapped to the genomic region

Examples

1
2
3
4
5
   GetCpGsInRegion(
     regionName_char = "chr22:18267969-18268249",
     genome = "hg19",
     arrayType = "450k"
   )

lissettegomez/coMethDMR documentation built on April 25, 2021, 1:10 p.m.