addPairDist: Add linear distance between gene paires or NA if on differnet...

Description Usage Arguments

View source: R/genepairFunctions.R

Description

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.

Usage

1
addPairDist(gp, genesGR, colname = "dist", ignore.strand = FALSE)

Arguments

gp

data.frame like object with gene pairs. Assumes indexes or names of ranges in 'genesGR' in the first two columns.

genesGR

A GRanges object.


ibn-salem/genepair documentation built on Aug. 7, 2017, 9:47 a.m.