getProbesByTSS {sesame} | R Documentation |
Get probes mapped to a TSS. 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 TSS region of the gene.
getProbesByTSS( geneName, upstream = 1500, dwstream = 1500, platform = c("EPIC", "HM450", "MM285"), refversion = c("hg38", "hg19", "mm10") )
geneName |
gene name |
upstream |
the number of base pairs to expand upstream the TSS |
dwstream |
the number of base pairs to expand dwstream the TSS |
platform |
EPIC, HM450, or MM285 |
refversion |
hg38, hg19 or mm10 |
probes that fall into the given gene
probes <- getProbesByTSS('CDKN2A')