Set the default number of threads for MarchR functions
set_threads.RdStores a session-global thread count that MarchR functions read by default via
get_threads(). Is only applied by default to functions that gain from multi-threading (e.g. svd() in LSI()).
Overriden by a function's own threads argument.
Usage
set_threads(threads = floor(parallel::detectCores()/2), force = FALSE)