get_top_snp: Get the top hit from the dataframe

Description Usage Arguments Value Examples

View source: R/setters_and_getters.R

Description

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

Usage

1

Arguments

df

Dataframe containing association results

chr

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

1
2
3
4
5
## Not run: 
data(gwas_CD)
get_top_snp(gwas_CD, chr="chr1")

## End(Not run)

wuxi-nextcode/topR documentation built on Dec. 23, 2021, 6:13 p.m.