R/utility.R
dtToGrInternal.Rd
Two utility functions for converting data.tables into GRanges objects
dtToGrInternal(DT, chr, start, end = NA, strand = NA, name = NA, metaCols = NA)
A data.table representing genomic regions.
A string representing the chromosome column.
A string representing the name of the start column.
A string representing the name of the end column.
A string representing the name of the strand column.
A string representing the name of the name column.
A string representing the name of the metadata column(s) to include in the returned GRanges object.
A GRanges object.