Hi everyone,
I used the method presented in the “DIABLO TCGA Case Study” (DIABLO TCGA Case Study | mixOmics )
I have 3 data set (lipid, microbe, Metabolite) and 2 groups (Controle vs Irradiated)
My model is:
final.mbspls.model = block.spls(X, indY = 1, ncomp = 3, design = design)
When I run perf() or AUROC, I get the same error:
perf.diablo = perf(final.mbspls.model, validation = ‘Mfold’,
M = 10, nrepeat = 10,
dist = ‘centroids.dist’)
===> Error in UseMethod(“perf”) :
no applicable method for ‘perf’ applied to an object of class “c(‘block.spls’, ‘sgcca’)”
auc.splsda = auroc(final.mbspls.model, roc.block = “lipid”,
roc.comp = 2, print = FALSE)
===> Error in UseMethod(“auroc”) :
no applicable method for ‘auroc’ applied to an object of class “c(‘block.spls’, ‘sgcca’)”
May it be a Bug?
Geraldine