Skip to content

Commit 13113f8

Browse files
authored
Add docstring for sort_genomic_dt. Fix #9 (#10)
1 parent 9387c12 commit 13113f8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

R/helpers.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
1+
#' Sort a data table with genomic coordinates
2+
#' @param dt An object that is a data.table
3+
#' @param with_chr A boolean to indicate whether the chrom field has UCSC (TRUE) or NCBI (FALSE) format
24
#' @export
35
sort_genomic_dt <- function(dt, with_chr = F) {
46
if (with_chr) {

0 commit comments

Comments
 (0)