getProbesByGene {sesame} | R Documentation |
Get probes mapped to a gene. All transcripts for the gene are considered. The function takes a gene name as appears in UCSC RefGene database. The platform and reference genome build can be changed with 'platform' and 'refversion' options. The function returns a vector of probes that falls into the given gene.
getProbesByGene(geneName, platform = c("EPIC", "HM450"), upstream = 0, dwstream = 0, refversion = c("hg38", "hg19"))
geneName |
gene name |
platform |
EPIC or HM450 |
upstream |
number of bases to expand upstream of target gene |
dwstream |
number of bases to expand downstream of target gene |
refversion |
hg38 or hg19 |
probes that fall into the given gene
probes <- getProbesByGene('CDKN2A', upstream=500, dwstream=500)