Fast C++-accelerated SparCC p-values via bootstrap and permutation.
Uses sparcc_matrix_rcpp internally for speed. Input: samples x taxa matrix.
Output: taxa x taxa p-value matrix.
Arguments
- data
Numeric matrix. Rows = samples, columns = taxa (ASVs/OTUs).
- iter
Integer. Number of outer iterations (Dirichlet resampling). Default 20.
- inner_iter
Integer. Max inner iterations for pair exclusion. Default 10.
- th
Numeric. Threshold for excluding highly correlated pairs. Default 0.1.
- R
Integer. Number of bootstrap/permutation replicates. Default 20.
- ncpus
Integer. Number of CPUs for parallel boot. Default 1.
