diff --git a/components/ExploreSummary.tsx b/components/ExploreSummary.tsx index 15f5b0c..1c4c35a 100644 --- a/components/ExploreSummary.tsx +++ b/components/ExploreSummary.tsx @@ -21,10 +21,6 @@ export const ExploreSummary: React.FunctionComponent = ( props.getGroupsByPropertyFiltered[AttributeNames.AtlasName] ).length; - const organCount = _.keys( - props.getGroupsByPropertyFiltered[AttributeNames.TissueorOrganofOrigin] - ).length; - const cancerTypeCount = _.keys( props.getGroupsByPropertyFiltered[AttributeNames.PrimaryDiagnosis] ).length; @@ -43,7 +39,6 @@ export const ExploreSummary: React.FunctionComponent = (
{pluralize('Team', atlasCount, true)}
-
{pluralize('Organ', organCount, true)}
{pluralize('Cancer Type', cancerTypeCount, true)}
{pluralize('Case', props.filteredCaseCount, true)}
diff --git a/components/FileTable.tsx b/components/FileTable.tsx index 070825a..2547aca 100644 --- a/components/FileTable.tsx +++ b/components/FileTable.tsx @@ -389,22 +389,11 @@ export default class FileTable extends React.Component { wrap: true, sortable: true, }, - { - name: 'Organ', - selector: (file: Entity) => { - return _.uniq( - file.diagnosis.map((d) => d.TissueorOrganofOrigin) - ).join(', '); - }, - cell: truncatedTableCell, - wrap: true, - sortable: true, - }, { name: 'Diagnosis', selector: (file: Entity) => { return _.uniq( - file.diagnosis.map((d) => d.TissueorOrganofOrigin) + file.diagnosis.map((d) => d.PrimaryDiagnosis) // this should probably be repurposed to "Breast Cancer Risk Group" & "Ovarian Cancer Risk Group" unless we get more cancer patients ).join(', '); }, cell: truncatedTableCell, @@ -630,7 +619,7 @@ export default class FileTable extends React.Component { }; const listSelectors: any = { - HTANParentDataFileID: { + ParentDataFileID: { pluralName: 'Files', }, }; diff --git a/components/filter/FilterControls.tsx b/components/filter/FilterControls.tsx index 3ea45e5..d5e93eb 100644 --- a/components/filter/FilterControls.tsx +++ b/components/filter/FilterControls.tsx @@ -65,7 +65,6 @@ const FilterControls: React.FunctionComponent = observer( const selectOptions = [ AttributeNames.AtlasName, - AttributeNames.TissueorOrganofOrigin, AttributeNames.PrimaryDiagnosis, AttributeNames.assayName, AttributeNames.Level, @@ -125,34 +124,6 @@ const FilterControls: React.FunctionComponent = observer(
-
-
- - - - - -
-
-
= observer(
@@ -210,7 +181,7 @@ const FilterControls: React.FunctionComponent = observer( filters={ props.selectedFiltersByGroupName } - options={options(AttributeNames.Gender)} + options={options(AttributeNames.Sex)} />