Learn R Programming

enviGCMS (version 0.5.7)

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

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

Run this code
# NOT RUN {
data(list)
getpower(list)
# }

Run the code above in your browser using DataLab