dtToGrInternal {GenomicDistributions} | R Documentation

## Two utility functions for converting data.tables into GRanges objects

### Description

Two utility functions for converting data.tables into GRanges objects

### Usage

    dtToGrInternal(DT, chr, start, end = NA, strand = NA, name = NA, metaCols = NA)

### Arguments

`DT` | A data.table representing genomic regions.
`chr` | A string representing the chromosome column.
`start` | A string representing the name of the start column.
`end` | A string representing the name of the end column.
`strand` | A string representing the name of the strand column.
`name` | A string representing the name of the name column.
`metaCols` | A string representing the name of the metadata column(s) to include in the returned GRanges object.

### Value

A GRanges object.

[Package GenomicDistributions version 1.2.0 Index]