permute {LPE} | R Documentation |
Given a vector, all possible combinations of vector are obtained
permute(a)
a |
a is any numeric vector. |
Used in am.trans. Does all permutations for columns within an experimental condition so that A and M can be calculated for all permutations of chips within a treatment.
A vector containing the possible combinations.
Nitin Jainnitin.jain@pfizer.com
J.K. Lee and M.O.Connell(2003). An S-Plus library for the analysis of differential expression. In The Analysis of Gene Expression Data: Methods and Software. Edited by G. Parmigiani, ES Garrett, RA Irizarry ad SL Zegar. Springer, NewYork.
Jain et. al. (2003) Local pooled error test for identifying differentially expressed genes with a small number of replicated microarrays, Bioinformatics, 1945-1951.
Jain et. al. (2005) Rank-invariant resampling based estimation of false discovery rate for analysis of small sample microarray data, BMC Bioinformatics, Vol 6, 187.
# Loading LPE library library(LPE) # A test vector permute(1:3) # Returns a 2 by 3 matrix # [,1] [,2] [,3] # [1,] 2 3 1 # [2,] 3 1 2