gr2dt: Converts 'GRanges' to 'data.table'

Description Usage Arguments Value

View source: R/gUtils.R

Description

Converts GRanges to data.table and a field grl.iix which saves the (local) index that that gr was in its corresponding grl item

Usage

1
gr2dt(x)

Arguments

x

GRanges to convert

Value

data.table of GRanges columns ('seqnames', 'start', 'end', 'strand', 'width') and metadata columns


mskilab/gUtils documentation built on July 10, 2019, 5:10 p.m.