import {
  SINGLECELL_CELLTYPE,
  SINGLECELL_GENE_EXPRESSION
} from "./chunk-NOEAT6CX.js";

// test/testdata/data.ts
function getSamplelstTw() {
  const values = [
    {
      sampleId: 42,
      sample: "2660"
    },
    {
      sampleId: 44,
      sample: "2688"
    },
    {
      sampleId: 45,
      sample: "2702"
    },
    {
      sampleId: 46,
      sample: "2716"
    },
    {
      sampleId: 59,
      sample: "2898"
    },
    {
      sampleId: 60,
      sample: "2912"
    },
    {
      sampleId: 67,
      sample: "3010"
    },
    {
      sampleId: 68,
      sample: "3024"
    },
    {
      sampleId: 69,
      sample: "3038"
    },
    {
      sampleId: 70,
      sample: "3052"
    },
    {
      sampleId: 73,
      sample: "3094"
    },
    {
      sampleId: 79,
      sample: "3178"
    },
    {
      sampleId: 80,
      sample: "3192"
    }
  ];
  return {
    term: {
      name: "termdbtest samplelst",
      type: "samplelst",
      values: {
        "Group 1": {
          key: "Group 1",
          label: "Group 1",
          list: values
        },
        "Not in Group 1": {
          key: "Not in Group 1",
          label: "Not in Group 1",
          list: values
        }
      }
    },
    q: {
      mode: "discrete",
      groups: [
        {
          name: "Group 1",
          in: true,
          values
        },
        {
          name: "Not in Group 1",
          in: false,
          values
        }
      ],
      isAtomic: true
    }
  };
}
function getCategoryGroupsetting() {
  return {
    id: "diaggrp",
    q: {
      type: "custom-groupset",
      customset: {
        name: "A versus B",
        groups: [
          {
            name: "Test A",
            type: "values",
            values: [{ key: "Acute lymphoblastic leukemia" }, { key: "Wilms tumor" }]
          },
          {
            name: "Test B",
            type: "values",
            values: [
              { key: "Central nervous system (CNS)" },
              { key: "Acute myeloid leukemia" },
              { key: "Non-Hodgkin lymphoma" }
            ]
          }
        ]
      }
    }
  };
}
function getGenesetMutTw() {
  return {
    term: {
      genes: [
        { kind: "gene", gene: "TP53", type: "geneVariant" },
        { kind: "gene", gene: "KRAS", type: "geneVariant" },
        { kind: "gene", gene: "AKT1", type: "geneVariant" },
        { kind: "gene", gene: "BCR", type: "geneVariant" }
      ],
      type: "geneVariant"
    },
    q: { type: "predefined-groupset" }
  };
}
function getGeneVariantTw(position = false) {
  return {
    term: {
      genes: [
        position ? { kind: "coord", chr: "chr12", start: 25205246, stop: 25250936, name: "KRASregion", type: "geneVariant" } : { kind: "gene", gene: "TP53", type: "geneVariant" }
      ],
      type: "geneVariant"
    },
    q: { type: "predefined-groupset", predefined_groupset_idx: 0, hiddenValues: {} }
  };
}
function getSsgseaTw(isBin = false) {
  return {
    term: { id: "HALLMARK_ADIPOGENESIS", type: "ssGSEA", name: "HALLMARK_ADIPOGENESIS" },
    q: isBin ? {
      type: "regular-bin",
      startinclusive: true,
      bin_size: 0.2,
      first_bin: { stop: -0.4 },
      last_bin: { start: 0.8 },
      mode: "discrete"
    } : { mode: "continuous" }
  };
}
function getScgeneexpTw(gene = "KRAS") {
  return {
    term: {
      type: SINGLECELL_GENE_EXPRESSION,
      id: gene,
      gene,
      name: gene,
      sample: {
        sID: "1_patient"
      }
    },
    q: {
      mode: "continuous"
    }
  };
}
function getScctTw() {
  return {
    term: {
      type: SINGLECELL_CELLTYPE,
      id: "CellType",
      name: "Cell Type",
      sample: {
        sID: "1_patient"
      },
      plot: "UMAP",
      colorBy: "CellType",
      values: {
        T_NK: {
          key: "T_NK",
          value: "T_NK"
        },
        Blast: {
          key: "Blast",
          value: "Blast"
        },
        Monocyte: {
          key: "Monocyte",
          value: "Monocyte"
        }
      },
      groupsetting: {
        disabled: false
      }
    }
  };
}
function getCategoricalTermcollectionTw() {
  return {
    type: "TermCollectionTWQual",
    term: { type: "termCollection", name: "Assay Availability" }
  };
}

export {
  getSamplelstTw,
  getCategoryGroupsetting,
  getGenesetMutTw,
  getGeneVariantTw,
  getSsgseaTw,
  getScgeneexpTw,
  getScctTw,
  getCategoricalTermcollectionTw
};
//# sourceMappingURL=chunk-7FACFCZK.js.map
