I am using the tune.rcc function with my real data (matrix X with 129 samples and 36 lipids and matrix Y with 129 samples and 15 thousand genes) as follows:
#Run package: library(mixOmics) cv <- tune.rcc(X, Y, grid1 = seq(0.001, 1, length = 5), grid2 = seq(0.001, 1, length = 5), validation = "loo", folds = 10, plot = FALSE)
Then I am having a long runtime for this tuning parameter step. It is approximately 10 days, even I have been running this process in a work station. In fact we have computing capacity (64 MB of RAM and 24 cores) to use several cores in parallel…
Please could you help me with some code to be able to execute the tune.rcc function using several cores in parallel?. So to be able to reduce the execution time and obtain the results.
I’ll look forward for your answer,