Hi everyone,
I’m encountering an error while running tune.block.splsda()
on my dataset:
tune.TCGA ← tune.block.splsda(X = data_list, Y = Y, ncomp = ncomp,
test.keepX = test.keepX, design = matdis,
validation = “Mfold”, folds = 10, nrepeat = 1,
dist = “centroids.dist”, progressBar = TRUE,
near.zero.var = TRUE)
Erreur : BiocParallel errors
1 remote errors, element index: 1
0 unevaluated and other errors
first remote error:
Error in solve.default(t(Pmat) %*% Wmat): Routine Lapack dgesv : the system is exactly singular: U[2,2] = 0
I suspect this issue is due to collinearity among covariates in my dataset, as I don’t observe much variation in my features at this time point. However, when running the same model at a later time point, the error disappears.
Has anyone encountered this problem before? Any suggestions on how to handle it?
Thanks in advance for your help!