gseaProportionMax: gseaProportion combining using max p-value

Description Usage Arguments Details Value

View source: R/hypotheticalDataGeneration.R

Description

gseaProportion combining using max p-value

Usage

1
2
  gseaProportionMax(inSize, sigProp, statistics,
    nSample = 2)

Arguments

inSize

vector of sizes to sample

sigProp

vector of significant proportion, i.e. fraction above 50 rank

statistics

the set of statistics to use (will be ranked by function)

nSample

number of samples to use

Details

For each supplied inSize and sigProp, random indices of inSize are taken from the statistics. Based on sigProp, for each sample different numbers of indices take values from the upper 50 of ranked values and the lower 50 of ranked values. In this case each entry in inSize and sigProp denotes a different term, and they are treated independently. The list combined method is based on taking the maximum p-value among the samples.

Value

list of lists for each term, with index and stats, stats contains a column for each sample, as well as a combined column.


rmflight/ccPaper documentation built on May 25, 2017, 4:26 a.m.