sort_coords {MungeSumstats}R Documentation

Sort sum stats by genomic coordinates

Description

Sort sum stats by genomic coordinates

Usage

sort_coords(sumstats_dt, sort_coordinates = TRUE)

Arguments

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.

Value

Sorted sumstats_dt


[Package MungeSumstats version 1.2.2 Index]