Learn R Programming

hiAnnotator (version 1.6.2)

getUCSCtable: Obtain a UCSC annotation table given the table & track name.

Description

Obtain a UCSC annotation table given the table & track name.

Usage

getUCSCtable(tableName, trackName, bsession = NULL, freeze = "hg18", ...)

Arguments

tableName
Name of the annotation table as it appears on UCSC browser.
trackName
Name of the track annotation table as it appears in on UCSC browser.
bsession
UCSC session object returned by makeUCSCsession or browserSession. If left NULL the function will call makeUCSCsession with the provided freeze to initiate a session.
freeze
one of following: hg18, mm8, rheM, etc. Default is hg18.
...
Arguments to be passed to ucscTableQuery.

Value

  • a dataframe containing the annotation data.

See Also

makeUCSCsession, getNearestFeature, getSitesInFeature.

Examples

Run this code
refflat <- getUCSCtable("refFlat","RefSeq Genes")
## same as above ##
refflat <- getUCSCtable("refFlat","RefSeq Genes",
bsession=session,freeze="hg18")

Run the code above in your browser using DataLab