View source: R/GetNearbyGenes.R
getRegionNearGenes | R Documentation |
Auxiliary function for GetNearGenes This will get the closest genes (n=numFlankingGenes) for a target region (TRange) based on a genome of refenrece gene annotation (geneAnnot). If the transcript level annotation (tssAnnot) is provided the Distance will be updated to the distance to the nearest TSS.
getRegionNearGenes(
TRange = NULL,
numFlankingGenes = 20,
geneAnnot = NULL,
tssAnnot = NULL
)
TRange |
A GRange object contains coordinate of targets. |
numFlankingGenes |
A number determine how many gene will be collected from each |
geneAnnot |
A GRange object contains gene coordinates of for human genome. |
tssAnnot |
A GRange object contains tss coordinates of for human genome. |
A data frame of nearby genes and information: genes' IDs, genes' symbols,
Tiago C Silva (maintainer: tiagochst@usp.br)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.