Thank you, it is work now sweat_smile:
it is new for me this type of analysis, the paper and tutorial are very clear, however i did not understand how can i choose the parameters to tuning keepX from my omics data.
I try adjust all steps for the best parameters of my analysis(ncomp=4) but this test.keepX, i really did not understand. I try used the model from TGCA tutorial only to test, and if i understand is not the best for my analysis, i take this error
test.keepX = list (Tr = c(5:9, seq(10, 18, 2), seq(20,30,5)),
Me = c(5:9, seq(10, 18, 2), seq(20,30,5)),
Ho = c(5:9, seq(10, 18, 2), seq(20,30,5)))
tune.TCGA = tune.block.splsda(X = data, Y = Y, ncomp = ncomp,
test.keepX = test.keepX, design = design,
validation = 'Mfold', folds = 3, nrepeat = 10,
cpus = 2, dist = "centroids.dist")
You have provided a sequence of keepX of length: 13 for block Tr and 13 for block Me and 13 for block Ho.
This results in 2197 models being fitted for each component and each nrepeat, this may take some time to run, be patient!
Error in checkForRemoteErrors(val) :
2 nodes produced errors; first error: each component of ‘keepX[]’
must be lower or equal to ncol(X[])=23.
The dimension of my files are:
 34 18
 34 23
 34 11
Can you help me? I’m so sorry to be very beginner in this type of analysis