Hi, I’m trying to work through the steps of building the model for a block.plsda analysis to run DIABLO. I have run block.plsda() followed by perf() but the results keep changing. Any suggestions on what I might be missing to make this step give reproducible results?
I’ve run pls() on each of my X list to determine the design and using that design matrix in the block.plsda().
diablo.MD ← block.plsda(X, Y, ncomp = 3, design = design)
perf.diablo.MD = perf(diablo.MD, validation = ‘Mfold’,
folds = 6, nrepeat = 10)
plot(perf.diablo.MD)
perf.diablo.MD$choice.ncomp$WeightedVote