sparcc: Function for 'sparcc' correlation calculation. Modified from...

Description Usage Arguments Value Examples

View source: R/adj.R

Description

Function for 'sparcc' correlation calculation. Modified from Schmidt et al. 2016, find the scripts here and the SparCC paper here.

Usage

1
sparcc(x, threads = 80, nblocks = 400)

Arguments

x

An matrix for correlation calculation.

threads

The number of threads used for parallel running, 80 by default.

nblocks

The number of row /column for splitting sub-matrix, 400 by default.

Value

y The adjacency matrix.

Examples

1
2
3
4
## Not run: 
asv_sparcc <- sparcc(maize_asv2, threads = 2, nblocks = 40)

## End(Not run)

Guan06/mina documentation built on Feb. 21, 2022, 11:56 a.m.