mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-08 03:38:11 +08:00
geneset iterate
This commit is contained in:
@@ -129,6 +129,17 @@ class Dotplot extends React.Component {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
dotplotColumns = () => {
|
||||||
|
const { genesets } = this.props;
|
||||||
|
/* TODO(colinmegill) #632 wire to dotplot reducer */
|
||||||
|
if (genesets && genesets.get("bladder urothelial")) {
|
||||||
|
const _geneset = genesets.get("bladder urothelial");
|
||||||
|
_geneset.genes.forEach((a, b) => {
|
||||||
|
console.log("bladder u", b);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
fetchAsyncProps = async (props) => {
|
fetchAsyncProps = async (props) => {
|
||||||
const { viewport, annoMatrix, colors } = props.watchProps;
|
const { viewport, annoMatrix, colors } = props.watchProps;
|
||||||
|
|
||||||
@@ -245,6 +256,7 @@ class Dotplot extends React.Component {
|
|||||||
width={viewport.width}
|
width={viewport.width}
|
||||||
height={viewport.height}
|
height={viewport.height}
|
||||||
>
|
>
|
||||||
|
{this.dotplotColumns()}
|
||||||
<Async
|
<Async
|
||||||
watchFn={Dotplot.watchAsync}
|
watchFn={Dotplot.watchAsync}
|
||||||
promiseFn={this.fetchAsyncProps}
|
promiseFn={this.fetchAsyncProps}
|
||||||
|
|||||||
Reference in New Issue
Block a user