get_n_significant_conditions: Count number of conditions each effect is significant in

Description Usage Arguments Value

View source: R/handle_mash_results.R

Description

Count number of conditions each effect is significant in

Usage

1
2
3
4
5
6
get_n_significant_conditions(
  m,
  thresh = 0.05,
  conditions = NULL,
  sig_fn = get_lfsr
)

Arguments

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

Value

a vector containing the number of significant conditions


Alice-MacQueen/CDBNgenomics documentation built on Aug. 18, 2020, 4:39 p.m.