Description Usage Arguments Examples
View source: R/GetNearbyGenes.R
Calculate the distance between probe and gene TSS
| 1 | addDistNearestTSS(data, NearGenes, genome, met.platform, cores = 1)
 | 
| data | A multi Assay Experiment with both DNA methylation and gene Expression objects | 
| NearGenes | A list or a data frame with the pairs gene probes | 
| genome | Which genome build will be used: hg38 (default) or hg19. | 
| met.platform | DNA methyaltion platform to retrieve data from: EPIC or 450K (default) | 
| cores | Number fo cores to be used. Deafult: 1 | 
| 1 2 3 4 5 6 7 8 | ## Not run: 
 data <- ELMER:::getdata("elmer.data.example")
  NearbyGenes <- GetNearGenes(data = data, 
                              probes = c("cg15924102", "cg24741609"),  
                              numFlankingGenes = 20)
  NearbyGenes <- addDistNearestTSS(data,NearbyGenes)
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.