From a5c2ca6aed521ce36ae006d0f436902f17bcaf32 Mon Sep 17 00:00:00 2001 From: Riza Nugraha Date: Tue, 6 Feb 2018 17:13:35 +0100 Subject: [PATCH] Make germline mutation marker thinner and fix bugs when displaying recurrence germline mutations --- src/shared/components/oncoprint/geneticrules.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/shared/components/oncoprint/geneticrules.ts b/src/shared/components/oncoprint/geneticrules.ts index 6163840c902..23c8ac7dbd4 100644 --- a/src/shared/components/oncoprint/geneticrules.ts +++ b/src/shared/components/oncoprint/geneticrules.ts @@ -167,9 +167,9 @@ let non_mutation_rule_params = { 'type': 'rectangle', 'fill': MUT_COLOR_GERMLINE, 'x': '0%', - 'y': '45.5%', + 'y': '46%', 'width': '100%', - 'height': '9%', + 'height': '8%', 'z': 7 }], legend_label: 'Germline Mutation' @@ -302,7 +302,7 @@ export const genetic_rule_set_different_colors_recurrence:RuleSetParams = { }], legend_label: 'Promoter Mutation' }, - 'trunc_rec, trunc_rec_germ': { + 'trunc_rec,trunc_rec_germ': { shapes: [{ 'type': 'rectangle', 'fill': MUT_COLOR_TRUNC, @@ -314,7 +314,7 @@ export const genetic_rule_set_different_colors_recurrence:RuleSetParams = { }], legend_label: 'Truncating Mutation (putative driver)', }, - 'trunc, trunc_germ': { + 'trunc,trunc_germ': { shapes: [{ 'type': 'rectangle', 'fill': MUT_COLOR_TRUNC_PASSENGER, @@ -326,7 +326,7 @@ export const genetic_rule_set_different_colors_recurrence:RuleSetParams = { }], legend_label: 'Truncating Mutation (putative passenger)', }, - 'inframe_rec, inframe_rec_germ': { + 'inframe_rec,inframe_rec_germ': { shapes: [{ 'type': 'rectangle', 'fill': MUT_COLOR_INFRAME, @@ -338,7 +338,7 @@ export const genetic_rule_set_different_colors_recurrence:RuleSetParams = { }], legend_label: 'Inframe Mutation (putative driver)', }, - 'inframe, inframe_germ': { + 'inframe,inframe_germ': { shapes: [{ 'type': 'rectangle', 'fill': MUT_COLOR_INFRAME_PASSENGER, @@ -350,7 +350,7 @@ export const genetic_rule_set_different_colors_recurrence:RuleSetParams = { }], legend_label: 'Inframe Mutation (putative passenger)', }, - 'missense_rec, missense_rec_germ': { + 'missense_rec,missense_rec_germ': { shapes: [{ 'type': 'rectangle', 'fill': MUT_COLOR_MISSENSE, @@ -362,7 +362,7 @@ export const genetic_rule_set_different_colors_recurrence:RuleSetParams = { }], legend_label: 'Missense Mutation (putative driver)', }, - 'missense, missense_germ': { + 'missense,missense_germ': { shapes: [{ 'type': 'rectangle', 'fill': MUT_COLOR_MISSENSE_PASSENGER,