test.group.shuffle: Function to do compute test statistic iterativelly
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
test.group.shuffle(x, varname, minSampleNum = 3, method = "t",B=1000)
Arguments
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
Value
- matrix of test statistics (with random group assignment and multiplied by -1)
References
Yang, X., Bentink, S. a Spang, R. 2005, Detecting Common Gene Expression Patterns in Multiple Cancer Outcome Entities, Biomedical Microdevices, vol.7:3