I'm trying to use a similarity matrix from [SparCC](http://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1002687) but I need to figure out which softthreshold to pick using `pickSoftThreshold.fromSimilarity`
I'm getting the following error:
> pickSoftThreshold.fromSimilarity(DF_sim) Error in checkAdjMat(similarity, min, max) : adjacency is not numeric
I'm loading in my similarity measure as:
```
DF_sim = read.table("./Analysis/sparcc_corr/euphotic.sparcc.tsv", sep="\t", row.names=1, header = TRUE, check.names=FALSE, stringsAsFactors = FALSE) > class(DF_sim) [1] "data.frame" > dim(DF_sim) [1] 2053 2053
```
My data is symmetric and between -1 and 1. I tried doing `as.numeric(DF_sim)` as input along with `abs(DF_sim)` in case it needed + numbers.
How can I get my SparCC correlation matrix to work with `pickSoftThreshold.fromSimilarity`?
> packageVersion("WGCNA") [1] ‘1.51’
How do you loaded DF_sim to R? Have you checked if isSymmetric(DF_sim) returns the same error? Could you provide the traceback of the error?
It could be that the error tolerance is lower than the difference in the matrix, you could then change the error tolerance or make it symmetric as Peter A: WGCNA | pickSoftThreshold.fromSimilarity not working for input similarity matrix.