sample_nonsig_results | R Documentation |
May be useful when plotting Manhattan or Q-Q plots for GWAS results to speed up plotting.
sample_nonsig_results(df, pval_col = "P", sig = 5e-08, n, prop)
df |
A data frame. |
pval_col |
Name of column in |
sig |
Significance threshold. P values equal to or greater than this will be sampled. |
n, prop |
Provide either If a negative value of If |
A data frame.
dummy_manhattan_df() %>% sample_nonsig_results(pval_col = "P", sig = 0.001, n = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.