sii-cell-atlas / paraCell

Single-cell analysis web interface, especially geared toward parasitologists. Inherits core functionality of cellxgene and cellxgene VIP for general purpose analysis, with additional features such as advanced gene search, host-parasite interactions, database integration and trajectory inference.
MIT License
2 stars 3 forks source link

HP .uns slot change #36

Closed EdwardAgboraw closed 1 year ago

EdwardAgboraw commented 1 year ago

Previously, the host-parasite functionality relied on a HP "indicator" metadata variable stored in .var which specified whether a gene belonged to the host or the parasite.

This has now been simplified - the complete list of genes belonging to both organisms are stored as independent lists in the .uns slot ("host_genes" and "parasite_genes"). These lists are made available to the front-end upon page-load, and front-end functionality (such as the makeLink() function, which handles dynamic external database hyperlink creation) determines whether a gene belongs to the host or parasite by querying the relevant list.