getpower {enviGCMS}R Documentation

Get the index with power restriction for certain study with BH adjusted p-value and certain power.

Description

Get the index with power restriction for certain study with BH adjusted p-value and certain power.

Usage

getpower(list, pt = 0.05, qt = 0.05, powert = 0.8, imputation = "l")

Arguments

list

list with data as peaks list, mz, rt and group information

pt

p value threshold, default 0.05

qt

q value threshold, BH adjust, default 0.05

powert

power cutoff, default 0.8

imputation

parameters for 'getimputation' function method

Value

list with current power and sample numbers for each peaks

See Also

getdata2,getdata, getmzrt, getimputation, getmr,getdoe

Examples

data(list)
getpower(list)

[Package enviGCMS version 0.6.6 Index]