Skip to content

Commit

Permalink
Show all cell annotations (#254)
Browse files Browse the repository at this point in the history
Shows all cell annotations to color dimensionality plots by. Does not truncate columns by number of unique categories anymore.
  • Loading branch information
jkanche authored Jan 18, 2024
1 parent 8a63b45 commit e6d0658
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "kana",
"description": "Single-cell data analysis in the browser",
"version": "3.0.20",
"version": "3.0.21",
"author": {
"name": "Jayaram Kancherla",
"email": "[email protected]",
Expand Down
8 changes: 4 additions & 4 deletions src/components/Plots/DimPlot.js
Original file line number Diff line number Diff line change
Expand Up @@ -831,10 +831,10 @@ const DimPlot = (props) => {
return Object.keys(annotationCols).filter((x) =>
!annotationCols[x].name.startsWith(code) &&
annotationCols[x].name !== "__batch__"
? annotationCols[x]["type"] === "continuous"
? true
: !annotationCols[x]["truncated"]
: false
// ? annotationCols[x]["type"] === "continuous"
// ? true
// : !annotationCols[x]["truncated"]
// : false
);
}, [annotationCols]);

Expand Down

0 comments on commit e6d0658

Please sign in to comment.