feat(geneset): save diff exp result as geneset (#2216)

* update package lock

* allow falsey vals

* remove old diff exp handling

* save diff exp results as geneset

* delete test

* check for undefined or null

* use global geneset description for diffexp

* remove diffexp special code, no longer showing adjpval + logfoldchange

* remove differential map to state

* remove clear from FSM, since we no longer support those actions

* restore controlHelpers test with todo
This commit is contained in:
Severiano Badajoz
2021-05-25 10:51:31 -07:00
committed by GitHub
parent 6f6634a4d9
commit a4050f10e1
23 changed files with 21894 additions and 355 deletions
@@ -107,11 +107,10 @@ const continuous = (selectorId, colorScale, colorAccessor) => {
annoMatrix: state.annoMatrix,
colors: state.colors,
genesets: state.genesets.genesets,
differential: state.differential,
}))
class ContinuousLegend extends React.Component {
async componentDidUpdate(prevProps) {
const { annoMatrix, colors, genesets, differential } = this.props;
const { annoMatrix, colors, genesets } = this.props;
if (!colors || !annoMatrix) return;
if (colors !== prevProps?.colors || annoMatrix !== prevProps?.annoMatrix) {
@@ -122,8 +121,7 @@ class ContinuousLegend extends React.Component {
colorMode,
colorAccessor,
schema,
genesets,
differential.diffExp
genesets
);
const colorDf = colorQuery ? await annoMatrix.fetch(...colorQuery) : null;