| addDistNearestTSS {ELMER} | R Documentation |
Calculate the distance between probe and gene TSS
addDistNearestTSS(data, NearGenes, 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 |
cores |
Number fo cores to be used. Deafult: 1 |
## Not run:
data <- ELMER:::getdata("elmer.data.example")
NearbyGenes <- GetNearGenes(data = data,
probes = c("cg15924102", "cg24741609"),
numFlankingGenes = 20)
NearbyGenes <- addDistNearestTSS(data,NearbyGenes)
NearbyGenes <- addDistNearestTSS(data,NearbyGenes[[1]])
## End(Not run)