#use pcp method
data(pcpMatrix)
groups <- rownames(pcpMatrix)
#run function
iterations <- 10
pe <- permute(
mat=pcpMatrix,
groups=groups,
iter=iterations,
projmethod="pcp"
)
#use mlp method
data(mlpMatrix)
groups <- rownames(mlpMatrix)
pe <- permute(
mat=mlpMatrix,
groups=groups,
iter=iterations,
projmethod="mlp"
)
#getData accessor
getData(pe)
#getData accessor specific
getData(pe, "scores.vec")
#get pvalue
pvalue(pe)
#plot result
plot(pe)
#combine three (parallell) jobs on the same matrix
pe2 <- c(pe, pe, pe)
Run the code above in your browser using DataLab