sort_coords_datatable: Sort sum stats: data.table

View source: R/sort_coords_datatable.R

sort_coords_datatableR Documentation

Sort sum stats: data.table

Description

Sort summary statistics table by genomic coordinates using a fast data.table-native strategy

Usage

sort_coords_datatable(
  sumstats_dt,
  chr_col = "CHR",
  start_col = "BP",
  end_col = start_col
)

Arguments

sumstats_dt

data.table obj of the summary statistics file for the GWAS.

chr_col

Chromosome column name.

start_col

Genomic end position column name.

Value

Sorted sumstats_dt


neurogenomics/MungeSumstats documentation built on Aug. 10, 2024, 5:59 a.m.