MRihw,fitFeatureModelResults-method {metagenomeSeq}R 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, options are "ihw-abundance" (median feature count per row) and "ihw-ubiquity" (number of non-zero features per row). For obj of class fitZigResults, 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


[Package metagenomeSeq version 1.26.0 Index]