MRihw-fitFeatureModelResults: MRihw runs IHW within a MRcoefs() call

MRihw,fitFeatureModelResults-methodR Documentation

MRihw runs IHW within a MRcoefs() call

Description

Function used in MRcoefs() when "IHW" is set as the p value adjustment method

Usage

## S4 method for signature 'fitFeatureModelResults'
MRihw(obj, p, adjustMethod, alpha)

Arguments

obj

Either a fitFeatureModelResults or fitZigResults object

p

a vector of pvalues extracted from obj

adjustMethod

Value specifying which adjustment method and which covariate to use for IHW pvalue adjustment. For obj of class fitFeatureModelResults-class, options are "ihw-abundance" (median feature count per row) and "ihw-ubiquity" (number of non-zero features per row). For obj of class fitZigResults-class, options are "ihw-abundance" (weighted mean per feature) and "ihw-ubiquity" (number of non-zero features per row).

alpha

pvalue significance level specified for IHW call. Default is 0.1


HCBravoLab/metagenomeSeq documentation built on March 17, 2024, 3:21 p.m.