dtToGrInternal: Two utility functions for converting data.tables into GRanges...

View source: R/utility.R

dtToGrInternalR 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.


databio/GenomicDistributions documentation built on April 30, 2024, 4:34 a.m.