From 9a8abe0649c291ba68ab487446e6aa46e2e4360c Mon Sep 17 00:00:00 2001 From: Onur Sumer Date: Thu, 22 Dec 2022 15:08:52 -0500 Subject: [PATCH] allow resistant mutations in the OncoKB track (fix cBioPortal/cbioportal#9900) --- packages/oncokb-frontend-commons/src/util/OncoKbUtils.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/oncokb-frontend-commons/src/util/OncoKbUtils.ts b/packages/oncokb-frontend-commons/src/util/OncoKbUtils.ts index 256fcd62d2a..3f6edd21928 100644 --- a/packages/oncokb-frontend-commons/src/util/OncoKbUtils.ts +++ b/packages/oncokb-frontend-commons/src/util/OncoKbUtils.ts @@ -113,10 +113,9 @@ export function generateQueryVariantId( } export function defaultOncoKbIndicatorFilter(indicator: IndicatorQueryResp) { - return indicator.oncogenic - .toLowerCase() - .trim() - .includes('oncogenic'); + const oncogenic = indicator.oncogenic.toLowerCase().trim(); + + return oncogenic.includes('oncogenic') || oncogenic.includes('resistance'); } export function generateIdToIndicatorMap(