chanzuckerberg / single-cell-data-portal

The data portal supporting the submission, exploration, and management of projects and datasets to cellxgene.
MIT License
59 stars 12 forks source link

Analytics (new): <Side-by-Side Embedding> #7085

Closed niknak33 closed 1 month ago

niknak33 commented 3 months ago

Overview

Tool: <Explorer>

Description: <We are launching a new modality, called Spatial, this new feature called Side-By-Side will allow users to visually compare different embeddings within that dataset.> Expectations: <We expect the majority of spatial dataset users to use the side-by-side embedding, the two areas of convergence are selecting the side-by-side embedding feature, and also interacting with the new embedding card>

New events to add

EXPLORER_SBS_SELECTED: {embedding: ‘embedding type selected’}

EXPLORER_SBS_SWAPPED: {main_embedding: 'embedding type selected in the main window when visitor clicked to swap the embeddings', window_embedding: 'embedding type that was in the small window when visitor clicked to swap the embeddings'}

EXPLORER_SBS_SIDE_WINDOW_EMBEDDING_CLICKED

EXPLORER_SBS_SIDE_WINDOW_EMBEDDING_SELECTED: `{embedding: 'embedding type selected in the small window'}

Events to update

EXPLORER_DOWNLOAD_COMPLETE: {embedding: 'embedding type currently selected', side_by_side: [True, False]}

Checklist

People to cc

PM: @niknak33 DS: @ainfeld

Privacy policy: https://cellxgene.cziscience.com/privacy

tihuan commented 2 months ago

https://github.com/chanzuckerberg/single-cell-explorer/pull/998

tihuan commented 1 month ago

Done!