mikelkou / ucie

Other
3 stars 3 forks source link

UCIE maps to narrow LAB spectrum microbiome data #1

Open savvas-paragkamian opened 8 months ago

savvas-paragkamian commented 8 months ago

U-CIE is a great tool, so simple idea and robust implementation!

I am trying to apply U-CIE to my soil microbiome data (amplicon - 16s rRNA), especially the sample sites. After the UMAP of the community matrix (SITES X GENERA) I supplied the 3d UMAP data to the tool (attached file).

My problem is that the projection of U-CIE to colors is narrow, mostly around green. I tried to toggle the parameters (both in UI and in R package) but I fail to expand the color coverage.

Screenshot 2023-10-13 at 2 45 20 PM

Is there a way, to cover a bigger part of the color space?

umap_samples_3.txt

savvas-paragkamian commented 8 months ago

I tried with different dimension reduction methods like PCoA and nMDS and the U-CIE worked super. I wonder though why this is the case for the UMAP data. It is an error of my implementation of UMAP? Or maybe has something to do with the nature of data?

Screenshot 2023-10-14 at 2 52 06 AM

ordination_pcoa_for_ui.txt

mikelkou commented 8 months ago

Thank you so much for your nice words and the effort to make good use of it. I doubt that there was an error of your implementation of the UMAP algorithm. I tend to believe that UMAP's distribution is not centered, making the optimization algorithm not doing a a great job. I can have a look into it and if centering the data helps but feel free to do a PR if you have a nice implementation that works as well.

Happy to see that you got nice results! :D