get.distance {chicane} | R Documentation |
get.distance
Description
Calculate distance between bait and target region
Usage
get.distance(interaction.data)
Arguments
interaction.data |
data.table with interaction data. Must contain columns bait.chr, bait.start, bait.end, target.chr, target.start, target.end |
Value
vector of absolute distances (NA for trans-interactions)
Examples
data(bre80);
input.cols <- c('bait.chr', 'bait.start', 'bait.end',
'target.chr', 'target.start', 'target.end');
get.distance( bre80[, input.cols, with = FALSE]);
[Package chicane version 0.1.8 Index]