Description Usage Arguments Value
View source: R/pvdiv_mash_results.R View source: R/pvdiv_gwas_results.R
From a mash result, get effects that are significant in at least one condition.
From a mash result, get effects that are significant in at least one condition
1 2 3 4 5 6 7 8 9 10 11 12 13 | get_significant_results(
m,
thresh = 0.05,
conditions = NULL,
sig_fn = ashr::get_lfsr
)
get_significant_results(
m,
thresh = 0.05,
conditions = NULL,
sig_fn = ashr::get_lfsr
)
|
m |
the mash result (from joint or 1by1 analysis) |
thresh |
indicates the threshold below which to call signals significant |
conditions |
which conditions to include in check (default to all) |
sig_fn |
the significance function used to extract significance from mash object; eg could be ashr::get_lfsr or ashr::get_lfdr. (Small values must indicate significant.) |
a vector containing the indices of the significant effects, by order of most significant to least
a vector containing the indices of the significant effects, by order of most significant to least
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.