vmikk / metagMisc

Miscellaneous functions for metagenomic analysis.
MIT License
46 stars 11 forks source link

phyloseq_inext: merge fail #22

Open JackDettoLoco opened 2 years ago

JackDettoLoco commented 2 years ago

this error: Errore in sort.list(bx[m$xi]) : 'x' dev'essere atomico per 'sort.list', metodo "shell" e "quick" Si è chiamato 'sort' su una lista? In aggiunta: Messaggi di avvertimento: 1: : ... may be used in an incorrect context: ‘.fun(piece, ...)’

2: : ... may be used in an incorrect context: ‘.fun(piece, ...)’

sorry for the Italian in the error, but so it is. we try to run part of your function and the error born from: res <- merge(res, mtd, by = "SampleID")

I try to reinstall your package, R, downgrade the R version, change the environment, and so on, but nothing changed. I build the phyloseq file with qiime2R package.

vmikk commented 2 years ago

Hello! It's difficult to diagnose the problem without seeing the data. Are OTUs arranged by columns or by rows (you may check it with taxa_are_rows(your_phyloseq))? Also, I've noticed that iNext had a major update recently, and it probably lost backward compatibility (I need to check it). Which iNext version are you using?