mAggregation: marginally stable aggregation of binomial data

View source: R/mAggregation.R

mAggregationR Documentation

marginally stable aggregation of binomial data

Description

marginally stable aggregation of binomial data

Usage

mAggregation(Data, grp, tree, MetaData, expfamily, frmla)

Arguments

Data

matrix or list of matrices containing LHS variables to be aggregated

grp

see output of getPhyloGroups

tree

phylo object

MetaData

meta-data table containing "sample" and variables found in formula

expfamily

Character, currently either "binomial" or "gaussian", indicating family of exponential family for marginally-stable aggregation.

frmla

formula - the response variable (or cbind(Successes,Failures) for expfamily='binomial',) will be aggregated.


reptalex/phylofactor documentation built on Feb. 28, 2024, 3:19 p.m.