get_top_snp: Get the top hit from the dataframe

View source: R/setters_and_getters.R

get_top_snpR Documentation

Get the top hit from the dataframe

Description

get_top_snp() Get the top hit from the dataframe All other input parameters are optional

Usage

get_top_snp(df, chr = NULL)

Arguments

df

Dataframe containing association results

chr

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.

Value

Dataframe containing the top hit

Examples

## Not run: 
get_top_snp(CD_UKBB, chr="chr1")

## End(Not run)


topr documentation built on June 22, 2024, 9:59 a.m.

Related to get_top_snp in topr...