dtToGrInternal {GenomicDistributions} | R Documentation |
Two utility functions for converting data.tables into GRanges objects
dtToGrInternal(DT, chr, start, end = NA, strand = NA, name = NA, metaCols = NA)
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. |
A GRanges object.