Closed millermorganOSU closed 1 month ago
I'm encountering the same error. I think the issue is that sparse_linear and sparse_dist call DescTools::Winsorize as though probs and na.rm are arguments of the function, where they actually seem to be arguments of quantile. Specifically, this line: DescTools::Winsorize(x, probs = wins_quant, na.rm = TRUE) Should probably be: DescTools::Winsorize(x, val = quantile(x, probs = wins_quant, na.rm = TRUE))
Hello all. I am working on my first microbiome analysis and I am interested in using SECOM to estimate taxa-taxa correlation (and hopefully taxa-host-phenotype correlation at some point although I don't know if that is possible with SECOM).
Originally I tried running
secom_linear()
on my phyloseq object in R 4.3.0. I got the error:Error in DescTools::Winsorize(x, probs = wins_quant, na.rm = TRUE) : unused arguments (probs = wins_quant, na.rm = TRUE)
I assumed that my R and package versions were out of date, so I updated R to 4.4.1. Unfortunately this did not fix the problem.
Has anyone else encountered this? Does anyone have any ideas for a potential solution? Below is a modified example from the documentation.