Skip to content

Commit

Permalink
re-enable tsne scatterplot
Browse files Browse the repository at this point in the history
fix #647
  • Loading branch information
keckelt committed Sep 25, 2023
1 parent 8e360fd commit a8e43b7
Show file tree
Hide file tree
Showing 2 changed files with 802 additions and 15 deletions.
10 changes: 4 additions & 6 deletions src/Taskview/tasks/Filter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { DensityPlot } from '../visualizations/DensityPlot';
import { GroupedBoxplot } from '../visualizations/GroupedBoxplot';
import { VegaGroupedHistogram } from '../visualizations/GroupedHistogram';
import { KaplanMeierPlot } from '../visualizations/KaplanMeierPlot';
import { Scatterplot } from '../visualizations/Scatterplot';
import { Scatterplot, TsneScatterplot } from '../visualizations/Scatterplot';
import { ATask } from './ATask';

export class Filter extends ATask {
Expand Down Expand Up @@ -128,11 +128,9 @@ export class Filter extends ATask {
}

private async showTsne(attributes: IAttribute[], cohorts: ICohort[]) {
this.$visContainer.innerHTML = 'Currently, we only support the visualization of up to two attributes.';
// TODO #647 fix tsne implementation
// this.attributes = attributes;
// this.cohorts = cohorts;
// this.setVisualizations([TsneScatterplot]);
this.attributes = attributes;
this.cohorts = cohorts;
this.setVisualizations([TsneScatterplot]);
}

set title(title: string) {
Expand Down
Loading

0 comments on commit a8e43b7

Please sign in to comment.