View source: R/GetNearbyGenes.R
GetNearGenes | R Documentation |
GetNearGenes is a function to collect equal number of gene on each side of one locus. It can receite either multi Assay Experiment with both DNA methylation and gene Expression matrix and the names of probes to select nearby genes, or it can receive two granges objects TRange and geneAnnot.
GetNearGenes(
data = NULL,
probes = NULL,
geneAnnot = NULL,
TRange = NULL,
numFlankingGenes = 20
)
data |
A multi Assay Experiment with both DNA methylation and gene Expression objects |
probes |
Name of probes to get nearby genes (it should be rownames of the DNA methylation object in the data argument object) |
geneAnnot |
A GRange object or Summarized Experiment object that contains coordinates of promoters for human genome. |
TRange |
A GRange object or Summarized Experiment object that contains coordinates of a list of targets loci. |
numFlankingGenes |
A number determines how many gene will be collected totally. Then the number devided by 2 is the number of genes collected from each side of targets (number shoule be even) Default to 20. |
A data frame of nearby genes and information: genes' IDs, genes' symbols, distance with target and side to which the gene locate to the target.
Yao, Lijing, et al. "Inferring regulatory element landscapes and transcription factor networks from cancer methylomes." Genome biology 16.1 (2015): 1.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.