Last data update: 2014.03.03

R: Annotate a group of probes supplied as a GenomicRanges object
getNearestR Documentation

Annotate a group of probes supplied as a GenomicRanges object

Description

This function encapsulates the common task of finding what gene/tx/tss is closest to a list of probes, as might be the case after a model fit.

Author(s)

Tim Triche, Jr.

Examples


  ## not run
  ##
  ## hm450 <- get450k()
  ## probenames <- c("cg16392865", "cg00395291", "cg09310185", "cg21749424")
  ## probes <- hm450[probenames]
  ## 
  ## getNearestTSS(probes)
  ## getNearestTranscript(probes)
  ## 
  ## Notice that cg16392865 sits within PTCRA, but the nearest TSS is CNPY3.
  ## 

Results