Description Usage Arguments Value Examples
View source: R/setters_and_getters.R
get_top_snp()
Get the top hit from the dataframe
All other input parameters are optional
1 | get_top_snp(df, chr = NULL)
|
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. |
Dataframe containing the top hit
1 2 3 4 5 | ## Not run:
data(gwas_CD)
get_top_snp(gwas_CD, chr="chr1")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.