Open JAkorli opened 1 year ago
The kruskal_test
function is from the coin
package, you might need to load it by library(coin)
firstly.
PS: To explore microbiome data more efficiently, the MicrobiotaProcess
package was developed using TidyFramework
again, you can refer to the vignette
Thank you for the response. I didn't realise I was missing the 'coin' package. diff_anaysis worked as it originally did once I installed 'coin'. Thanks also for the additional information on doing microbiome analyses.
Hello, I used to run the command below without errors until I upgraded R version to 4.2.2. Now I get the error below when I try to run the same command on the same dataset. What could be wrong?
diff_analysis(obj= ps, classgroup = "Status",
Error in kruskal_test(k__Bacteria ~ Status, data = list(Row.names = c("MB1", : could not find function "kruskal_test"