diff --git a/packages/sections/src/credibleSet/GWASColoc/Body.tsx b/packages/sections/src/credibleSet/GWASColoc/Body.tsx
index 59ee550a7..d9b8b7102 100644
--- a/packages/sections/src/credibleSet/GWASColoc/Body.tsx
+++ b/packages/sections/src/credibleSet/GWASColoc/Body.tsx
@@ -20,6 +20,7 @@ const columns = [
{
id: "otherStudyLocus.studyLocusId",
label: "Navigate",
+ enableHiding: false,
renderCell: ({ otherStudyLocus }) => {
if (!otherStudyLocus?.variant) return naLabel;
return ;
diff --git a/packages/sections/src/credibleSet/Locus2Gene/Body.tsx b/packages/sections/src/credibleSet/Locus2Gene/Body.tsx
index 563519227..269ba26c6 100644
--- a/packages/sections/src/credibleSet/Locus2Gene/Body.tsx
+++ b/packages/sections/src/credibleSet/Locus2Gene/Body.tsx
@@ -17,6 +17,7 @@ const columns = [
{
id: "gene",
label: "Gene",
+ enableHiding: false,
renderCell: ({ target }) => {
if (!target) return naLabel;
return {target?.approvedSymbol};
diff --git a/packages/sections/src/credibleSet/Variants/Body.tsx b/packages/sections/src/credibleSet/Variants/Body.tsx
index c761bd1fa..b6a6f8827 100644
--- a/packages/sections/src/credibleSet/Variants/Body.tsx
+++ b/packages/sections/src/credibleSet/Variants/Body.tsx
@@ -30,6 +30,7 @@ function getColumns({ leadVariantId, leadReferenceAllele, leadAlternateAllele }:
{
id: "variant.id",
label: "Variant",
+ enableHiding: false,
comparator: variantComparator(d => d?.variant),
sortable: true,
filterValue: ({ variant: v }) =>
diff --git a/packages/sections/src/disease/GWASStudies/Body.tsx b/packages/sections/src/disease/GWASStudies/Body.tsx
index 4a2e21d74..304b2c1dc 100644
--- a/packages/sections/src/disease/GWASStudies/Body.tsx
+++ b/packages/sections/src/disease/GWASStudies/Body.tsx
@@ -13,6 +13,7 @@ const columns = [
{
id: "id",
label: "Study",
+ enableHiding: false,
renderCell: ({ id }) => {id},
},
{
diff --git a/packages/sections/src/disease/OTProjects/Body.jsx b/packages/sections/src/disease/OTProjects/Body.jsx
index 2738fac58..feb18269d 100644
--- a/packages/sections/src/disease/OTProjects/Body.jsx
+++ b/packages/sections/src/disease/OTProjects/Body.jsx
@@ -24,6 +24,7 @@ const getColumns = classes => [
{
id: "otarCode",
label: "Project Code",
+ enableHiding: false,
renderCell: ({ otarCode }) => (
{otarCode}
diff --git a/packages/sections/src/disease/Phenotypes/Body.jsx b/packages/sections/src/disease/Phenotypes/Body.jsx
index 5be5fa74f..5075444c2 100644
--- a/packages/sections/src/disease/Phenotypes/Body.jsx
+++ b/packages/sections/src/disease/Phenotypes/Body.jsx
@@ -34,6 +34,7 @@ const columns = [
{
id: "phenotypeHPO",
label: "Phenotype",
+ enableHiding: false,
renderCell: ({ phenotypeEFO, phenotypeHPO }) => {
let content;
if (phenotypeEFO && phenotypeEFO.id) {
@@ -56,6 +57,7 @@ const columns = [
{
id: "phenotypeHDOid",
label: "Phenotype ID",
+ enableHiding: false,
renderCell: ({ phenotypeHPO }) => {
const id = phenotypeHPO?.id.replace("_", ":");
return (
diff --git a/packages/sections/src/drug/DrugWarnings/Body.jsx b/packages/sections/src/drug/DrugWarnings/Body.jsx
index d7cec066a..6cfa5e8c9 100644
--- a/packages/sections/src/drug/DrugWarnings/Body.jsx
+++ b/packages/sections/src/drug/DrugWarnings/Body.jsx
@@ -29,6 +29,7 @@ const columns = [
{
id: "toxicityClass",
label: "ChEMBL warning class",
+ enableHiding: false,
renderCell: ({ toxicityClass, efoIdForWarningClass, description }) => {
if (efoIdForWarningClass)
return (
diff --git a/packages/sections/src/drug/Indications/Body.jsx b/packages/sections/src/drug/Indications/Body.jsx
index 3e2565a4d..268cd9331 100644
--- a/packages/sections/src/drug/Indications/Body.jsx
+++ b/packages/sections/src/drug/Indications/Body.jsx
@@ -14,6 +14,7 @@ const columns = [
{
id: "indication",
label: "Indication",
+ enableHiding: false,
propertyPath: "disease.name",
renderCell: d => {d.disease.name},
width: "38%",
diff --git a/packages/sections/src/drug/MechanismsOfAction/Body.jsx b/packages/sections/src/drug/MechanismsOfAction/Body.jsx
index dc86f6688..c63c95543 100644
--- a/packages/sections/src/drug/MechanismsOfAction/Body.jsx
+++ b/packages/sections/src/drug/MechanismsOfAction/Body.jsx
@@ -12,6 +12,7 @@ const columns = [
{
id: "mechanismOfAction",
label: "Mechanism of Action",
+ enableHiding: false,
},
{
id: "targetName",
diff --git a/packages/sections/src/drug/Pharmacogenomics/Body.jsx b/packages/sections/src/drug/Pharmacogenomics/Body.jsx
index 04b0b8fa6..4ad54e5fd 100644
--- a/packages/sections/src/drug/Pharmacogenomics/Body.jsx
+++ b/packages/sections/src/drug/Pharmacogenomics/Body.jsx
@@ -87,6 +87,7 @@ function Body({ id: chemblId, label: name, entity }) {
{
id: "variantRsId",
label: "rsID",
+ enableHiding: false,
renderCell: ({ variantRsId }) =>
variantRsId ? (
(
{disease.name}
@@ -21,6 +22,7 @@ const columns = [
},
{
label: "Reported disease/phenotype",
+ enableHiding: false,
renderCell: ({ diseaseCellLines, diseaseFromSource }) => {
if (!diseaseCellLines) return naLabel;
diff --git a/packages/sections/src/evidence/CRISPRScreen/Body.jsx b/packages/sections/src/evidence/CRISPRScreen/Body.jsx
index be9fbe11b..56638ec3d 100644
--- a/packages/sections/src/evidence/CRISPRScreen/Body.jsx
+++ b/packages/sections/src/evidence/CRISPRScreen/Body.jsx
@@ -35,6 +35,7 @@ const getColumns = label => [
{
id: "studyId",
label: "Study Identifier",
+ enableHiding: false,
renderCell: row => (
{row.studyId}
diff --git a/packages/sections/src/evidence/CancerBiomarkers/Body.jsx b/packages/sections/src/evidence/CancerBiomarkers/Body.jsx
index 514bd31ec..3cf0c900e 100644
--- a/packages/sections/src/evidence/CancerBiomarkers/Body.jsx
+++ b/packages/sections/src/evidence/CancerBiomarkers/Body.jsx
@@ -36,6 +36,7 @@ const getColumns = label => [
{
id: "biomarkerName",
label: "Biomarker",
+ enableHiding: false,
renderCell: ({ biomarkerName, biomarkers }) => (
),
diff --git a/packages/sections/src/evidence/CancerGeneCensus/Body.jsx b/packages/sections/src/evidence/CancerGeneCensus/Body.jsx
index 2c02376c6..404df93f9 100644
--- a/packages/sections/src/evidence/CancerGeneCensus/Body.jsx
+++ b/packages/sections/src/evidence/CancerGeneCensus/Body.jsx
@@ -26,12 +26,14 @@ const getColumns = label => [
{
id: "disease.name",
label: "Disease/phenotype",
+ enableHiding: false,
renderCell: ({ disease }) => {disease.name},
},
{
id: "mutationType",
propertyPath: "mutatedSamples.functionalConsequence",
label: "Mutation type",
+ enableHiding: false,
renderCell: ({ mutatedSamples }) => {
if (!mutatedSamples) return naLabel;
const sortedMutatedSamples = mutatedSamples
diff --git a/packages/sections/src/evidence/Chembl/Body.jsx b/packages/sections/src/evidence/Chembl/Body.jsx
index f8a4c1b54..372549d5d 100644
--- a/packages/sections/src/evidence/Chembl/Body.jsx
+++ b/packages/sections/src/evidence/Chembl/Body.jsx
@@ -79,6 +79,7 @@ function getColumns(classes) {
{
id: "disease.name",
label: "Disease/phenotype",
+ enableHiding: false,
renderCell: ({ disease, cohortPhenotypes }) => {
let displayElement = naLabel;
if (disease) displayElement = {disease.name};
@@ -153,6 +154,7 @@ function getColumns(classes) {
{
id: "drug.name",
label: "Drug",
+ enableHiding: false,
renderCell: ({ drug }) => {drug.name},
},
{
diff --git a/packages/sections/src/evidence/ClinGen/Body.jsx b/packages/sections/src/evidence/ClinGen/Body.jsx
index 0f1d55b6f..e1cc7f581 100644
--- a/packages/sections/src/evidence/ClinGen/Body.jsx
+++ b/packages/sections/src/evidence/ClinGen/Body.jsx
@@ -12,6 +12,7 @@ const columns = [
{
id: "disease.name",
label: "Disease/phenotype",
+ enableHiding: false,
renderCell: ({ disease, diseaseFromSource }) => (
(
{studyId}
diff --git a/packages/sections/src/evidence/Gene2Phenotype/Body.jsx b/packages/sections/src/evidence/Gene2Phenotype/Body.jsx
index 49f2ad191..845d0e96b 100644
--- a/packages/sections/src/evidence/Gene2Phenotype/Body.jsx
+++ b/packages/sections/src/evidence/Gene2Phenotype/Body.jsx
@@ -26,6 +26,7 @@ const getColumns = label => [
{
id: "disease.name",
label: "Disease/phenotype",
+ enableHiding: false,
renderCell: ({ disease, diseaseFromSource }) => (
[
{
id: "studyId",
label: "Panel",
+ enableHiding: false,
renderCell: ({ studyId, target: { approvedSymbol } }) => (
{studyId}
diff --git a/packages/sections/src/evidence/GenomicsEngland/Body.jsx b/packages/sections/src/evidence/GenomicsEngland/Body.jsx
index 02d28482c..4f905702e 100644
--- a/packages/sections/src/evidence/GenomicsEngland/Body.jsx
+++ b/packages/sections/src/evidence/GenomicsEngland/Body.jsx
@@ -6,7 +6,7 @@ import { v1 } from "uuid";
import { Tooltip, SectionItem, Link, PublicationsDrawer, OtTable } from "ui";
import { definition } from ".";
-import { defaultRowsPerPageOptions, naLabel, sectionsBaseSizeQuery } from "../../constants";
+import { naLabel, sectionsBaseSizeQuery } from "../../constants";
import Description from "./Description";
import { epmcUrl } from "../../utils/urls";
import { sentenceCase } from "../../utils/global";
@@ -49,6 +49,7 @@ const getColumns = label => [
{
id: "disease",
label: "Disease/phenotype",
+ enableHiding: false,
renderCell: ({ disease, diseaseFromSource, cohortPhenotypes }) => (
[
{
id: "studyOverview",
label: "Genomics England Panel",
+ enableHiding: false,
renderCell: ({ studyOverview, studyId, target: { approvedSymbol } }) =>
studyOverview && studyId && approvedSymbol ? (
diff --git a/packages/sections/src/evidence/Impc/Body.jsx b/packages/sections/src/evidence/Impc/Body.jsx
index e6b81540a..aa6bdad3b 100644
--- a/packages/sections/src/evidence/Impc/Body.jsx
+++ b/packages/sections/src/evidence/Impc/Body.jsx
@@ -100,6 +100,7 @@ const columns = [
{
id: "literature",
label: "Mouse model allelic composition",
+ enableHiding: false,
renderCell: ({
biologicalModelAllelicComposition,
biologicalModelGeneticBackground,
diff --git a/packages/sections/src/evidence/IntOgen/Body.jsx b/packages/sections/src/evidence/IntOgen/Body.jsx
index 54118d5a1..02ff92f53 100644
--- a/packages/sections/src/evidence/IntOgen/Body.jsx
+++ b/packages/sections/src/evidence/IntOgen/Body.jsx
@@ -116,6 +116,7 @@ const columns = [
{
id: "cohortShortName",
label: "Cohort Information",
+ enableHiding: false,
renderCell: ({ cohortId, cohortShortName, cohortDescription, target: { approvedSymbol } }) =>
cohortShortName && cohortDescription ? (
<>
diff --git a/packages/sections/src/evidence/OTCRISPR/Body.jsx b/packages/sections/src/evidence/OTCRISPR/Body.jsx
index 25407dea4..52f468fd8 100644
--- a/packages/sections/src/evidence/OTCRISPR/Body.jsx
+++ b/packages/sections/src/evidence/OTCRISPR/Body.jsx
@@ -5,7 +5,7 @@ import { SectionItem, Link, Tooltip, OtTable, TooltipStyledLabel } from "ui";
import { definition } from ".";
import Description from "./Description";
import { dataTypesMap } from "../../dataTypes";
-import { defaultRowsPerPageOptions, naLabel, sectionsBaseSizeQuery } from "../../constants";
+import { naLabel, sectionsBaseSizeQuery } from "../../constants";
import CRISPR_QUERY from "./OTCrisprQuery.gql";
@@ -34,6 +34,7 @@ const getColumns = () => [
{
id: "contrast",
label: "Contrast / Study overview",
+ enableHiding: false,
renderCell: row => {
if (row.contrast && row.studyOverview) {
return (
diff --git a/packages/sections/src/evidence/OTEncore/Body.jsx b/packages/sections/src/evidence/OTEncore/Body.jsx
index 08effeda4..f40933678 100644
--- a/packages/sections/src/evidence/OTEncore/Body.jsx
+++ b/packages/sections/src/evidence/OTEncore/Body.jsx
@@ -16,7 +16,7 @@ import {
import { definition } from ".";
import Description from "./Description";
import { dataTypesMap } from "../../dataTypes";
-import { defaultRowsPerPageOptions, sectionsBaseSizeQuery } from "../../constants";
+import { sectionsBaseSizeQuery } from "../../constants";
import ENCORE_QUERY from "./OTEncoreQuery.gql";
@@ -49,6 +49,7 @@ const getColumns = classes => [
{
id: "interactingTargetFromSourceId",
label: "Anchor gene",
+ enableHiding: false,
sortable: true,
},
{
diff --git a/packages/sections/src/evidence/OTValidation/Body.jsx b/packages/sections/src/evidence/OTValidation/Body.jsx
index 6632daf63..88bfde979 100644
--- a/packages/sections/src/evidence/OTValidation/Body.jsx
+++ b/packages/sections/src/evidence/OTValidation/Body.jsx
@@ -10,7 +10,7 @@ import { v1 } from "uuid";
import { definition } from ".";
import Description from "./Description";
import { dataTypesMap } from "../../dataTypes";
-import { defaultRowsPerPageOptions, naLabel, sectionsBaseSizeQuery } from "../../constants";
+import { naLabel, sectionsBaseSizeQuery } from "../../constants";
import VALIDATION_QUERY from "./OTValidationQuery.gql";
const useStyles = makeStyles(theme => ({
@@ -70,6 +70,7 @@ const getColumns = classes => [
{
id: "biomarkerList",
label: "Cell line biomarkers",
+ enableHiding: false,
renderCell: row => (
[
{
id: "disease.name",
label: "Disease/phenotype",
+ enableHiding: false,
renderCell: ({ disease, diseaseFromSource }) => (
[
{
id: "variantFunctionalConsequence",
label: "Functional consequence",
+ enableHiding: false,
renderCell: ({ variantFunctionalConsequence }) =>
variantFunctionalConsequence ? (
`https://identifiers.org/reactome:${id}`;
@@ -15,6 +15,7 @@ const columns = [
{
id: "disease",
label: "Disease/phenotype",
+ enableHiding: false,
renderCell: ({ disease, diseaseFromSource }) => (
pathways?.length >= 1 ? (
diff --git a/packages/sections/src/evidence/Reactome/Body.jsx b/packages/sections/src/evidence/Reactome/Body.jsx
index 517d59d4b..7b12c1278 100644
--- a/packages/sections/src/evidence/Reactome/Body.jsx
+++ b/packages/sections/src/evidence/Reactome/Body.jsx
@@ -69,6 +69,7 @@ const getColumns = label => [
{
id: "reactionId",
label: "Reaction",
+ enableHiding: false,
renderCell: ({ reactionName, reactionId }) => (
{reactionName}
diff --git a/packages/sections/src/evidence/SlapEnrich/Body.jsx b/packages/sections/src/evidence/SlapEnrich/Body.jsx
index a4feb1680..9f798d5bd 100644
--- a/packages/sections/src/evidence/SlapEnrich/Body.jsx
+++ b/packages/sections/src/evidence/SlapEnrich/Body.jsx
@@ -7,7 +7,7 @@ import Description from "./Description";
import { dataTypesMap } from "../../dataTypes";
import SLAPENRICH_QUERY from "./sectionQuery.gql";
import { sentenceCase } from "../../utils/global";
-import { defaultRowsPerPageOptions, naLabel, sectionsBaseSizeQuery } from "../../constants";
+import { naLabel, sectionsBaseSizeQuery } from "../../constants";
const reactomeUrl = id => `https://identifiers.org/reactome:${id}`;
@@ -37,6 +37,7 @@ const columns = [
{
id: "pathwayName",
label: "Significant pathway",
+ enableHiding: false,
renderCell: ({ pathways }) =>
pathways?.length >= 1 ? (
diff --git a/packages/sections/src/evidence/SysBio/Body.jsx b/packages/sections/src/evidence/SysBio/Body.jsx
index 121875f18..28f9bd817 100644
--- a/packages/sections/src/evidence/SysBio/Body.jsx
+++ b/packages/sections/src/evidence/SysBio/Body.jsx
@@ -6,7 +6,7 @@ import Description from "./Description";
import { epmcUrl } from "../../utils/urls";
import SYSBIO_QUERY from "./sectionQuery.gql";
import { dataTypesMap } from "../../dataTypes";
-import { defaultRowsPerPageOptions, naLabel, sectionsBaseSizeQuery } from "../../constants";
+import { naLabel, sectionsBaseSizeQuery } from "../../constants";
const getColumns = label => [
{
@@ -18,6 +18,7 @@ const getColumns = label => [
{
id: "pathwayName",
label: "Gene set",
+ enableHiding: false,
renderCell: ({ pathways, studyOverview }) => {
if (pathways && pathways.length >= 1 && studyOverview) {
return (
diff --git a/packages/sections/src/evidence/UniProtLiterature/Body.jsx b/packages/sections/src/evidence/UniProtLiterature/Body.jsx
index f3aa8cb9e..cb65bb7f4 100644
--- a/packages/sections/src/evidence/UniProtLiterature/Body.jsx
+++ b/packages/sections/src/evidence/UniProtLiterature/Body.jsx
@@ -14,6 +14,7 @@ const getcolumns = label => [
{
id: "disease.name",
label: "Disease/phenotype",
+ enableHiding: false,
renderCell: ({ disease, diseaseFromSource }) => (
[
{
id: "targetFromSourceId",
label: "Reported protein",
+ enableHiding: false,
renderCell: ({ targetFromSourceId }) => (
{targetFromSourceId}
diff --git a/packages/sections/src/evidence/UniProtVariants/Body.jsx b/packages/sections/src/evidence/UniProtVariants/Body.jsx
index f3e9b0529..8544ae38a 100644
--- a/packages/sections/src/evidence/UniProtVariants/Body.jsx
+++ b/packages/sections/src/evidence/UniProtVariants/Body.jsx
@@ -28,6 +28,7 @@ function getColumns(label) {
{
id: "disease.name",
label: "Disease/phenotype",
+ enableHiding: false,
renderCell: ({ disease, diseaseFromSource }) => (
d?.variant),
filterValue: ({ variant: v }) =>
diff --git a/packages/sections/src/study/GWASCredibleSets/Body.tsx b/packages/sections/src/study/GWASCredibleSets/Body.tsx
index 575f8fe09..f4accd93b 100644
--- a/packages/sections/src/study/GWASCredibleSets/Body.tsx
+++ b/packages/sections/src/study/GWASCredibleSets/Body.tsx
@@ -27,11 +27,13 @@ const columns = [
{
id: "studyLocusId",
label: "Navigate",
+ enableHiding: false,
renderCell: ({ studyLocusId }) => ,
},
{
id: "leadVariant",
label: "Lead variant",
+ enableHiding: false,
comparator: variantComparator(d => d?.variant),
sortable: true,
filterValue: ({ variant: v }) =>
diff --git a/packages/sections/src/study/SharedTraitStudies/Body.tsx b/packages/sections/src/study/SharedTraitStudies/Body.tsx
index 93db2fe87..126f6b74e 100644
--- a/packages/sections/src/study/SharedTraitStudies/Body.tsx
+++ b/packages/sections/src/study/SharedTraitStudies/Body.tsx
@@ -15,6 +15,7 @@ function getColumns(diseaseIds: string[]) {
{
id: "studyId",
label: "Study",
+ enableHiding: false,
renderCell: ({ id }) => {id},
exportValue: ({ id }) => id,
},
diff --git a/packages/sections/src/target/CancerHallmarks/Body.jsx b/packages/sections/src/target/CancerHallmarks/Body.jsx
index b3f4c8919..e9eaf96ff 100644
--- a/packages/sections/src/target/CancerHallmarks/Body.jsx
+++ b/packages/sections/src/target/CancerHallmarks/Body.jsx
@@ -13,6 +13,7 @@ const columns = [
{
id: "label",
label: "Hallmark",
+ enableHiding: false,
renderCell: row => row.label,
exportLabel: "Hallmark",
},
diff --git a/packages/sections/src/target/ChemicalProbes/Body.jsx b/packages/sections/src/target/ChemicalProbes/Body.jsx
index 5b32fd15e..3dd429fc5 100644
--- a/packages/sections/src/target/ChemicalProbes/Body.jsx
+++ b/packages/sections/src/target/ChemicalProbes/Body.jsx
@@ -23,6 +23,7 @@ const columns = [
{
id: "id",
label: "Probe ID",
+ enableHiding: false,
renderCell: row => {
// link to drug page if drugid is available; also add tooltip with control if available
const c = row.drugId ? (
diff --git a/packages/sections/src/target/ComparativeGenomics/Body.jsx b/packages/sections/src/target/ComparativeGenomics/Body.jsx
index fc42b1228..ad7aa948c 100644
--- a/packages/sections/src/target/ComparativeGenomics/Body.jsx
+++ b/packages/sections/src/target/ComparativeGenomics/Body.jsx
@@ -71,6 +71,7 @@ function getColumns(classes) {
{
id: "speciesName",
label: "Species",
+ enableHiding: false,
renderCell: ({ speciesId, speciesName }) => {
const SpeciesIcon = speciesIcons[speciesId];
return (
@@ -113,6 +114,7 @@ function getColumns(classes) {
{
id: "targetGeneSymbol",
label: "Homologue",
+ enableHiding: false,
renderCell: ({ targetGeneId, targetGeneSymbol }) => (
{targetGeneSymbol || targetGeneId}
diff --git a/packages/sections/src/target/GeneOntology/Body.jsx b/packages/sections/src/target/GeneOntology/Body.jsx
index 5cd031a71..a2514726c 100644
--- a/packages/sections/src/target/GeneOntology/Body.jsx
+++ b/packages/sections/src/target/GeneOntology/Body.jsx
@@ -88,6 +88,7 @@ const columns = [
{
id: "goTerm",
label: "GO term",
+ enableHiding: false,
renderCell: ({ term }) =>
term ? (
diff --git a/packages/sections/src/target/GeneticConstraint/Body.jsx b/packages/sections/src/target/GeneticConstraint/Body.jsx
index cb846357f..9696108a0 100644
--- a/packages/sections/src/target/GeneticConstraint/Body.jsx
+++ b/packages/sections/src/target/GeneticConstraint/Body.jsx
@@ -69,6 +69,7 @@ function getColumns(ensemblId, symbol) {
{
id: "constraintType",
label: "Category",
+ enableHiding: false,
renderCell: ({ constraintType }) => constraintTypeMap[constraintType],
},
{
diff --git a/packages/sections/src/target/MousePhenotypes/Body.jsx b/packages/sections/src/target/MousePhenotypes/Body.jsx
index cb98eef14..c37b972e2 100644
--- a/packages/sections/src/target/MousePhenotypes/Body.jsx
+++ b/packages/sections/src/target/MousePhenotypes/Body.jsx
@@ -10,6 +10,7 @@ const columns = [
{
id: "targetInModel",
label: "Mouse gene",
+ enableHiding: false,
renderCell: ({ targetInModel, targetInModelMgiId }) => (
{targetInModel}
@@ -54,6 +55,7 @@ const columns = [
{
id: "allelicComposition",
label: "Allelic composition",
+ enableHiding: false,
renderCell: ({ biologicalModels }) => (
),
diff --git a/packages/sections/src/target/Pathways/Body.jsx b/packages/sections/src/target/Pathways/Body.jsx
index 1076f8528..984f2501f 100644
--- a/packages/sections/src/target/Pathways/Body.jsx
+++ b/packages/sections/src/target/Pathways/Body.jsx
@@ -15,6 +15,7 @@ function getColumns(symbol) {
{
id: "pathway",
label: "Pathway",
+ enableHiding: false,
renderCell: ({ pathwayId, pathway }) => (
{pathway}
diff --git a/packages/sections/src/target/Pharmacogenomics/Body.jsx b/packages/sections/src/target/Pharmacogenomics/Body.jsx
index 1685948f6..c8887679a 100644
--- a/packages/sections/src/target/Pharmacogenomics/Body.jsx
+++ b/packages/sections/src/target/Pharmacogenomics/Body.jsx
@@ -67,6 +67,7 @@ function getColumns(classes) {
{
id: "variantRsId",
label: "rsID",
+ enableHiding: false,
renderCell: ({ variantRsId }) =>
variantRsId ? (
eventId ? {event ?? naLabel} : event ?? naLabel,
},
diff --git a/packages/sections/src/variant/EVA/Body.tsx b/packages/sections/src/variant/EVA/Body.tsx
index 7dee680f1..0b274ab3c 100644
--- a/packages/sections/src/variant/EVA/Body.tsx
+++ b/packages/sections/src/variant/EVA/Body.tsx
@@ -58,6 +58,7 @@ const columns = [
{
id: "studyId",
label: "ClinVar ID",
+ enableHiding: false,
renderCell: ({ studyId }) => {
if (!studyId) return naLabel;
return (
diff --git a/packages/sections/src/variant/GWASCredibleSets/Body.tsx b/packages/sections/src/variant/GWASCredibleSets/Body.tsx
index b531c9e71..0abc28371 100644
--- a/packages/sections/src/variant/GWASCredibleSets/Body.tsx
+++ b/packages/sections/src/variant/GWASCredibleSets/Body.tsx
@@ -37,11 +37,13 @@ function getColumns({ id, referenceAllele, alternateAllele }: getColumnsType) {
{
id: "studyLocusId",
label: "Navigate",
+ enableHiding: false,
renderCell: ({ studyLocusId }) => ,
},
{
id: "leadVariant",
label: "Lead variant",
+ enableHiding: false,
comparator: variantComparator(d => d?.variant),
sortable: true,
filterValue: ({ variant: v }) =>
diff --git a/packages/sections/src/variant/InSilicoPredictors/Body.tsx b/packages/sections/src/variant/InSilicoPredictors/Body.tsx
index e51efdcc2..4292d8bbf 100644
--- a/packages/sections/src/variant/InSilicoPredictors/Body.tsx
+++ b/packages/sections/src/variant/InSilicoPredictors/Body.tsx
@@ -13,6 +13,7 @@ const columns = [
{
id: "method",
label: "Method",
+ enableHiding: false,
},
{
id: "assessment",
diff --git a/packages/sections/src/variant/Pharmacogenomics/Body.tsx b/packages/sections/src/variant/Pharmacogenomics/Body.tsx
index 45568597b..29f17b726 100644
--- a/packages/sections/src/variant/Pharmacogenomics/Body.tsx
+++ b/packages/sections/src/variant/Pharmacogenomics/Body.tsx
@@ -71,6 +71,7 @@ function Body({ id, entity }: BodyProps) {
{
id: "genotypeId",
label: "Genotype ID",
+ enableHiding: false,
tooltip: (
<>
VCF-style(chr_pos_ref_allele1,allele2). See{" "}
diff --git a/packages/sections/src/variant/QTLCredibleSets/Body.tsx b/packages/sections/src/variant/QTLCredibleSets/Body.tsx
index 95e9fc7ff..009612819 100644
--- a/packages/sections/src/variant/QTLCredibleSets/Body.tsx
+++ b/packages/sections/src/variant/QTLCredibleSets/Body.tsx
@@ -29,11 +29,13 @@ function getColumns({ id, referenceAllele, alternateAllele }: getColumnsType) {
{
id: "studyLocusId",
label: "Navigate",
+ enableHiding: false,
renderCell: ({ studyLocusId }) => ,
},
{
id: "leadVariant",
label: "Lead variant",
+ enableHiding: false,
comparator: variantComparator(d => d.variant),
sortable: true,
filterValue: ({ variant: v }) =>
diff --git a/packages/sections/src/variant/UniProtVariants/Body.tsx b/packages/sections/src/variant/UniProtVariants/Body.tsx
index 6160e1f53..45a59cf91 100644
--- a/packages/sections/src/variant/UniProtVariants/Body.tsx
+++ b/packages/sections/src/variant/UniProtVariants/Body.tsx
@@ -11,6 +11,7 @@ const columns = [
{
id: "diseases",
label: "Disease/phenotype",
+ enableHiding: false,
renderCell: ({ disease, diseaseFromSource }) => {
if (!disease) return naLabel;
const displayElement = {disease.name};
@@ -45,6 +46,7 @@ const columns = [
{
id: "literature",
label: "Literature",
+ enableHiding: false,
renderCell: ({ literature }) => {
const literatureList =
literature?.reduce((acc, id) => {
diff --git a/packages/sections/src/variant/VariantEffectPredictor/Body.tsx b/packages/sections/src/variant/VariantEffectPredictor/Body.tsx
index c0722b7d2..98a838794 100644
--- a/packages/sections/src/variant/VariantEffectPredictor/Body.tsx
+++ b/packages/sections/src/variant/VariantEffectPredictor/Body.tsx
@@ -21,6 +21,7 @@ const columns = [
id: "target.approvedSymbol",
label: "Gene",
sortable: true,
+ enableHiding: false,
renderCell: ({ target, transcriptId, uniprotAccessions }) => {
if (!target) return naLabel;
let displayElement = {target.approvedSymbol};
@@ -91,6 +92,7 @@ const columns = [
{
id: "variantConsequences.label",
label: "Predicted consequence",
+ enableHiding: false,
renderCell: ({ variantConsequences, aminoAcidChange, codons }) => {
if (!variantConsequences?.length) return naLabel;
let displayElement = variantConsequences.map(({ id, label }, i, arr) => (