Reads CoNet .txt outputs and converts to adjacency matrix.
readCoNet(name = "brown", mode = "env", x = seq(from = 0, to = 50, by = 5), n = 10, alldata = alldata, setname, tool = tool, klemmadj, wdir)
| name | name of p-value merge, "brown" or "fisher" |
|---|---|
| x | vector specificying environmental strength or removed species |
| n | number of replicates |
| alldata | list of datasets with simulated counts |
| setname | name of simulation |
| tool | toolname, pref "CoNetBrown" or "CoNetFisher" |
| klemmadj | list of Klemm matrices |
nothing, but writes .txt files to current directory
CoNet bash calls output a text file that can be used to compute adjacency matrices. This function parses the text file.