View source: R/genepairFunctions.R
Distance is caluclated based on start positon of genes in basepair and can be negative, if second gene has a lower start postion than the first gene in pairs.
1 | addPairDist(gp, genesGR, colname = "dist", ignore.strand = FALSE)
|
gp |
data.frame like object with gene pairs. Assumes indexes or names of ranges in 'genesGR' in the first two columns. |
genesGR |
A |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.