Learn R Programming

enviGCMS (version 0.7.1)

getpower: 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")

Value

list with current power and sample numbers for each peaks

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

See Also

getdata2,getdata, getmzrt, getimputation, getmr,getdoe

Examples

Run this code
data(list)
getpower(list)

Run the code above in your browser using DataLab