RPpaired: RP paired

Usage Arguments Author(s) Examples

Usage

1
RPpaired(m, nperms = 200)

Arguments

m

matrix of paired ratios.

nperms

number of permutations to perform to approximate the f(gamma distribution).

Author(s)

maxime.tarabichi@ulb.ac.be

Examples

 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

galder-max/RPlite documentation built on May 5, 2019, 3:49 a.m.