# NOT RUN {
data(liver.toxicity)
# implement IPCA on a microarray dataset
ipca.res <- ipca(liver.toxicity$gene, ncomp = 3, mode="deflation")
ipca.res
# samples representation
plotIndiv(ipca.res, ind.names = as.character(liver.toxicity$treatment[, 4]),
group = as.numeric(as.factor(liver.toxicity$treatment[, 4])))
# }
# NOT RUN {
plotIndiv(ipca.res, cex = 0.01,
col = as.numeric(as.factor(liver.toxicity$treatment[, 4])),style="3d")
# }
# NOT RUN {
# variables representation
plotVar(ipca.res, cex = 0.5)
# }
# NOT RUN {
plotVar(ipca.res, rad.in = 0.5, cex = 0.5,style="3d")
# }
Run the code above in your browser using DataLab