getProbesByTSS {sesame} | R Documentation

## Get Probes by Gene Transcription Start Site (TSS)

### Description

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.

### Usage

    getProbesByTSS(
      geneName,
      upstream = 1500,
      dwstream = 1500,
      platform = c("EPIC", "HM450", "MM285"),
      refversion = c("hg38", "hg19", "mm10")
    )

### Arguments

`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

### Value

probes that fall into the given gene

### Examples

    probes <- getProbesByTSS('CDKN2A')

[Package sesame version 1.12.9 Index]