sort_coords {MungeSumstats} | R Documentation |
Sort sum stats by genomic coordinates
sort_coords(sumstats_dt, sort_coordinates = TRUE)
sumstats_dt |
data table obj of the summary statistics file for the GWAS |
sort_coords |
Whether to sort by coordinates. |
make_ordered |
Make CHR into an ordered factor to ensure they go from 1-22, X, Y. |
Sorted sumstats_dt