mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-08 03:38:11 +08:00
minor prose change on embedding chooser (#1678)
This commit is contained in:
@@ -136,11 +136,8 @@ const EmbeddingChoices = ({ onChange, annoMatrix, layoutChoice }) => {
|
|||||||
return (
|
return (
|
||||||
<RadioGroup onChange={onChange} selectedValue={layoutChoice.current}>
|
<RadioGroup onChange={onChange} selectedValue={layoutChoice.current}>
|
||||||
{data.map((summary) => {
|
{data.map((summary) => {
|
||||||
const { discreteCellIndex, embedding, embeddingName } = summary;
|
const { discreteCellIndex, embeddingName } = summary;
|
||||||
const isAllCells = discreteCellIndex.size() === embedding.length;
|
const sizeHint = `${discreteCellIndex.size()} cells`;
|
||||||
const sizeHint = `${discreteCellIndex.size()} ${
|
|
||||||
isAllCells ? "(all) " : ""
|
|
||||||
}cells`;
|
|
||||||
return (
|
return (
|
||||||
<Radio
|
<Radio
|
||||||
label={`${embeddingName}: ${sizeHint}`}
|
label={`${embeddingName}: ${sizeHint}`}
|
||||||
|
|||||||
Reference in New Issue
Block a user