get_top_snp()
Get the top hit from the dataframe
All other input parameters are optional
get_top_snp(df, chr = NULL)
Dataframe containing association results
String, get the top hit in the data frame for this chromosome. If chromosome is not provided, the top hit from the entire dataset is returned.
Dataframe containing the top hit
if (FALSE) {
data(gwas_CD)
get_top_snp(gwas_CD, chr="chr1")
}