Entering edit mode
I'm looking to parallelise 2 sva functions:
num.sv: where B=20 indicates 20 permutations
num.sv(dat, mod, method="be", vfilter=NULL, B=20, seed=NULL)
sva: where B=5 is the no. iterations of the irw algorithm
sva(dat, mod, mod0=NULL, n.sv=NULL, controls=NULL, method="irw", vfilter=NULL, B=5, numSVmethod="be")
Is this possible using parallel or other parallelising package?