sort_genomic_dt

Sort a data table with genomic coordinates

sort_genomic_dt(dt, with_chr = F)

sort_genomic_dt(dt, with_chr = F)

Arguments

dt

An object that is a data.table

with_chr

A boolean to indicate whether the chrom field has UCSC (TRUE) or NCBI (FALSE) format