I want to perform parallel processing using same data frame and function with varying arguments of the function via foreach loop.
Assume that I have a data frame of 10,000 samples, each with 100 diagnostic assays in columns. I want to calculate sensitivity and specificity between each pairs of 100 assays. Can I do this using parallel processing in R via foreach loop?