From e6d0658ae005bce206786a50e758b3adbb0db74c Mon Sep 17 00:00:00 2001 From: Jayaram Kancherla Date: Thu, 18 Jan 2024 10:25:13 -0800 Subject: [PATCH] Show all cell annotations (#254) Shows all cell annotations to color dimensionality plots by. Does not truncate columns by number of unique categories anymore. --- package.json | 2 +- src/components/Plots/DimPlot.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 5dbd3af4..54a99617 100644 --- a/package.json +++ b/package.json @@ -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": "jayaram.kancherla@gmail.com", diff --git a/src/components/Plots/DimPlot.js b/src/components/Plots/DimPlot.js index 2bf9bad6..f6b6b985 100644 --- a/src/components/Plots/DimPlot.js +++ b/src/components/Plots/DimPlot.js @@ -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]);