Reads SparCC .txt outputs and converts to adjacency matrix.
readSpar(n, x, mode = NA, setname, alldata, klemmadj, wdir)
| n | number of replicates |
|---|---|
| x | vector specificying environmental strength or removed species |
| setname | name of simulation |
| alldata | list of datasets with simulated counts |
| klemmadj | list of Klemm matrices |
nothing, but writes .txt files to current directory
SparCC bash calls output p-values that can be used to compute adjacency matrices.