mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-07 14:28:12 +08:00
async 1
This commit is contained in:
@@ -83,6 +83,7 @@ class Dotplot extends React.Component {
|
|||||||
{!dotplot.column && "Select a column"}
|
{!dotplot.column && "Select a column"}
|
||||||
</text>
|
</text>
|
||||||
</g>
|
</g>
|
||||||
|
{/* ASYNC HERE */}
|
||||||
{dotplot.row && dotplot.column && (
|
{dotplot.row && dotplot.column && (
|
||||||
<g
|
<g
|
||||||
id="dotplot_interface_margin"
|
id="dotplot_interface_margin"
|
||||||
@@ -90,8 +91,7 @@ class Dotplot extends React.Component {
|
|||||||
>
|
>
|
||||||
{/* Acaa1b, Mal, Foxq1 ... across the top of the dotplot */}
|
{/* Acaa1b, Mal, Foxq1 ... across the top of the dotplot */}
|
||||||
<g id="dotplot_column_labels" transform="translate(14,-13)">
|
<g id="dotplot_column_labels" transform="translate(14,-13)">
|
||||||
{_genes.map((_geneSymbol, _geneIndexInGeneset) => {
|
{_genes.map((_geneSymbol, _geneIndexInGeneset) => (
|
||||||
return (
|
|
||||||
<text
|
<text
|
||||||
key={_geneSymbol}
|
key={_geneSymbol}
|
||||||
x={0}
|
x={0}
|
||||||
@@ -103,13 +103,11 @@ class Dotplot extends React.Component {
|
|||||||
>
|
>
|
||||||
{_geneSymbol}
|
{_geneSymbol}
|
||||||
</text>
|
</text>
|
||||||
);
|
))}
|
||||||
})}
|
|
||||||
</g>
|
</g>
|
||||||
{/* loop over genes in the geneset, */}
|
{/* loop over genes in the geneset, */}
|
||||||
<g id="dotplot_columns">
|
<g id="dotplot_columns">
|
||||||
{_genes.map((_geneSymbol, _geneIndexInGeneset) => {
|
{_genes.map((_geneSymbol, _geneIndexInGeneset) => (
|
||||||
return (
|
|
||||||
<Column
|
<Column
|
||||||
key={_geneSymbol}
|
key={_geneSymbol}
|
||||||
_geneSymbol={_geneSymbol}
|
_geneSymbol={_geneSymbol}
|
||||||
@@ -118,8 +116,7 @@ class Dotplot extends React.Component {
|
|||||||
rowColumnSize={this.rowColumnSize}
|
rowColumnSize={this.rowColumnSize}
|
||||||
metadataField={dotplot.row}
|
metadataField={dotplot.row}
|
||||||
/>
|
/>
|
||||||
);
|
))}
|
||||||
})}
|
|
||||||
</g>
|
</g>
|
||||||
</g>
|
</g>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user