Learn R Programming

MetaboAnalystR (version 2.0.0)

InitPowerAnal: Function for power analysis

Description

Perform power analysis, requires the SSPA R package.

Usage

InitPowerAnal(mSetObj, clsOpts)

Arguments

mSetObj

Input the name of the created mSetObj (see InitDataObjects)

clsOpts

For data with >2 groups, specify the two classes on which to perform power analysis, otherwise for data with 2 groups, "NA" will automatically select the 2 groups.