Reads SparCC .txt outputs and converts to adjacency matrix.

readSpar(n, x, mode = NA, setname, alldata, klemmadj, wdir)

Arguments

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

Value

nothing, but writes .txt files to current directory

Details

SparCC bash calls output p-values that can be used to compute adjacency matrices.