add.fragment.coordinates {chicane}R Documentation

add.fragment.coordinates

Description

Expand target and bait IDs of the form chrN:start-end to separate coordinate columns in the data table

Usage

add.fragment.coordinates(id.data)

Arguments

id.data

data table containing columns target.id and/or bait.id to be expanded

Value

Data table with added coordinate columns for target and bait (as applicable).

Author(s)

Erle Holgersen <Erle.Holgersen@icr.ac.uk>

Examples

data(bre80);
add.fragment.coordinates(bre80[, .(bait.id, target.id)]);


[Package chicane version 0.1.8 Index]