Warning: Design matrix has changed to include Y; each block will be linked to Y

Hi,

I ran case study program codes “DIABLO TCGA Case Study.R”. I faced error when run the below:
basic.diablo.model = block.splsda(X = data, Y = Y, ncomp = 5, design = design)

I got the rror message:
Design matrix has changed to include Y; each block will be linked to Y.

Could you help me to solve it?

Thanks,

hi @Ryun
this is only a warning, not at error, to indicate that you are running a supervised model (i.e the design matrix is pointing towards the outcome Y), so you can just inspect the results of your model.

Kim-Anh

Thank you for your kind response and guidance.
I will inspect the results of the model.
Cheers!