Entering edit mode
I am using mixOmics (6.22.0 from Bioconductor 3.16 on R 4.2.2) block.plsda but I'm hitting a bug with my data:
bp2 <- block.plsda(X = X, Y = MAE_cross$severity, ncomp = 5, design = design2,
+ near.zero.var = TRUE)
Design matrix has changed to include Y; each block will be
linked to Y.
Error in !DA : invalid argument type
block.plsda uses internal_wrapper.mint.block
, which has a DA argument set to NULL, which is later used internally as !DA & q ==indY
which results in an error when DA is NULL
:
DA <- NULL
!DA
## Error in !DA : invalid argument type
But
block.plsda
callsinternal_wrapper.mint.block
with DA = TRUE, so the default doesn't matter. You'll need to provide the output from bothtraceback()
after the error and yoursessionInfo()
.Oh, sorry for the noise, I see that just after Bioconductor 3.16 the bug is fixed in both 3.17 and in devel. Thanks for checking.