chanzuckerberg / single-cell-data-portal

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

Analytics (new): <Diff Expression Feature> #6888

Open niknak33 opened 5 months ago

niknak33 commented 5 months ago

Overview

Tool: <Differential Expression>

Description: <New tool being built for CELLxGENE suits of products, this will be a new tab and therefore a new analytics request is being created> Expectations: <Potentially high usage for this tool, this is because we have had requests for this tool over the past few years.>

Learning questions

What to make sure to measure

New events to add

Differential expression DE_DOCUMENTATION_CLICKED

DE_SELECT_CELL_TYPE, DE_SELECT_TISSUE, DE_SELECT_DISEASE, DE_SELECT_SEX, DE_SELECT_ETHNICITY, DE_SELECT_PUBLICATION : {<field based on category>: 'value selected (name)'}

DE_CG_COPY_CLICKED: {category: 'category button clicked for (i.e. cell type, tissue, etc.)', values: 'string of IDs of values in Cell group 1 when copy was clicked' }

DE_CG_DIFF_CLICKED: {category: 'category button clicked for (i.e. cell type, tissue, etc.)', values: 'string of IDs of values in Cell group 1 when diff was clicked' }

DE_FIND_GENES_CLICKED : {<field based on category>: 'CG1: <values selected (IDs) for cell group 1>, CG2: <values selected (IDs) for cell group 2>',...}

DE_SEARCH_GENE : {gene: 'gene searched for'}

Cell Guide CG_OPEN_IN_DE_CLICKED: {cell_type: 'contains which cell type page the visitor is on', tissue: 'contains what tissue filter was selected}

Explorer EXPLORER_OPEN_DE_CLICKED

Gene expresison WMG_OPEN_IN_DE_CLICKED: {cell_type: 'contains which cell type sidebar the visitor is on', tissue: 'contains what tissue that cell type was selected for'}

Checklist

People to cc

PM: DS: @ainfeld

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

ainfeld commented 3 months ago

Updates to instrumentation DE_SELECT_CELL_TYPE, DE_SELECT_TISSUE, DE_SELECT_DISEASE, DE_SELECT_SEX, DE_SELECT_ETHNICITY, DE_SELECT_PUBLICATION

DE_FIND_GENES_CLICKED and DE_DOWNLOAD_CLICKED

DE_SEARCH_GENE

New instrumentation needed given UI updates DE_OPEN_IN_GE_CLICKED

ainfeld commented 2 months ago

In addition to the changes needed in the comment above:

DE_CG_COPY_CLICKED and DE_CG_DIFF_CLICKED events can now be removed as the buttons were removed

DE_FIND_GENES_CLICKED

Please let me know when all updates have been made and I can check it all one more time before launch. Thanks!!