gseaProportionVary: vary gsea proportion

Description Usage Arguments Details Value

View source: R/hypotheticalDataGeneration.R

Description

vary gsea proportion

Usage

1
  gseaProportionVary(inSize, sigProp, statistics)

Arguments

inSize

vector of sizes

sigProp

list of proportions, one for each sample

statistics

the statistics 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 denotes a different term, and they are treated independently. Each list entry of sigProp is a sample, and each vector should be the same length as inSize. The list combined method is based on averaging the statistics in this case.

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.