hms-dbmi / cellpop

MIT License
0 stars 1 forks source link

Add context menu to heatmap, resetdata, refactor js-only #13

Closed thomcsmits closed 7 months ago

thomcsmits commented 7 months ago

Changes:

  1. Add context menu to heatmap, with:

    • Move row to top
    • Move row to bottom
    • Remove row
  2. Add button to reset data (to undo remove row)

    • Added data.rowNamesRaw and data.colNamesRaw when creating data
    • When resetting data, make data.rowNames same as data.rowNamesRaw (and same for cols)
  3. Refactor, wrap all to create vis in one function

    • renderCellPopVisualization in src/visualization/index.js
  4. Refactor, move previous src/visualization/index.js to src/cellpop.js

    • Now both CellPopComponent.jsx and cellpop.js use index.js for renderCellPopVisualization