Usage Arguments Author(s) Examples
1 | RPpaired(m, nperms = 200)
|
m |
matrix of paired ratios. |
nperms |
number of permutations to perform to approximate the f(gamma distribution). |
maxime.tarabichi@ulb.ac.be
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | ## samples
nc<-20
##genes
nr<-10000
## matrix of expression
m<-matrix(rnorm(nc*nr),nr,nc)
##factor of paired leves
o<-c(paste("level1",1:(nc/2),sep="-"),paste("level21",1:(nc/2),sep="-"))
##matrix of ratios
mr<-m[,1:(nc/2)]-m[,(nc/2+1):nc]
## paired Rank Product
resRP<-RPpaired(mr,nperms=100)
head(resRP$lStats)
## to be done
## use gamma distribution instead of permutations
## for the null distribution
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.