# load plsgenomics library
library(plsgenomics)
# load data set
data(Colon)
# how many samples and how many genes ?
dim(Colon$X)
# how many samples of class 1 and 2 respectively ?
sum(Colon$Y==1)
sum(Colon$Y==2)
Run the code above in your browser using DataLab