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

View source: R/gUtils.R

gr2dtR Documentation

Converts GRanges to data.table

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

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 June 6, 2023, 12:08 a.m.