sparccboot | R Documentation |
This function gets bootstrapped estimates of SparCC correlation coefficients adapted from https://github.com/zdk123/SpiecEasi/blob/master/R/spaRcc.R
sparccboot( data, sparcc.params = list(), statisticboot = function(data, indices) triu(do.call("sparcc", c(list(data[indices, , drop = FALSE]), sparcc.params))$Cor), statisticperm = function(data, indices) triu(do.call("sparcc", c(list(apply(data[indices, ], 2, sample)), sparcc.params))$Cor), R, ncpus = 1, ... )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.