test.group.shuffle: Function to do compute test statistic iterativelly

Description Usage Arguments Value Author(s) References See Also

Description

Function computes test statistic with random assignment of group labels to samples in each iteration. It binds results to one matrix. Finaly it multiplies values of test statistics by -1. It saves a file necessary in MAP-Matches method.

Usage

1
test.group.shuffle(x,  varname, minSampleNum = 3, method = "t",B=1000)

Arguments

x

MetaArray object

varname

String indicating the column of clinical data matrices definig groups

minSampleNum

Minimal number of samples required for test statistic

method

Type of test as in mt.teststat

B

Number of iterations

Value

matrix of test statistics (with random group assignment and multiplied by -1)

Author(s)

Ivana Ihnatova

References

Yang, X., Bentink, S. a Spang, R. 2005, Detecting Common Gene Expression Patterns in Multiple Cancer Outcome Entities, Biomedical Microdevices, vol.7:3

See Also

entitybuild2


MAMA documentation built on Jan. 15, 2017, 3:05 p.m.