powered by
Count number of conditions each effect is significant in
get_n_significant_conditions( m, thresh = 0.05, conditions = NULL, sig_fn = get_lfsr )
a vector containing the number of significant conditions
the mash result (from joint or 1by1 analysis)
indicates the threshold below which to call signals significant
which conditions to include in check (default to all)
the significance function used to extract significance from mash object; eg could be ashr::get_lfsr or ashr::get_lfdr
simdata = simple_sims(50,5,1) data = mash_set_data(simdata$Bhat, simdata$Shat) m = mash(data, cov_canonical(data)) get_n_significant_conditions(m)
Run the code above in your browser using DataLab