From 2c1e770ee62640e60f68c9099b663dab8475a6f6 Mon Sep 17 00:00:00 2001 From: Ivo Kwee Date: Mon, 14 Oct 2024 18:05:51 +0200 Subject: [PATCH] Update featuremap_plot_table_gene_map.R --- components/board.featuremap/R/featuremap_plot_table_gene_map.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/board.featuremap/R/featuremap_plot_table_gene_map.R b/components/board.featuremap/R/featuremap_plot_table_gene_map.R index b214f965e..a9d6fb75c 100644 --- a/components/board.featuremap/R/featuremap_plot_table_gene_map.R +++ b/components/board.featuremap/R/featuremap_plot_table_gene_map.R @@ -210,7 +210,7 @@ featuremap_plot_gene_map_server <- function(id, if (mean(df$feature %in% df$symbol, na.rm = TRUE) > 0.9) { df$feature <- NULL } - if (mean(df$symbol == df$human_ortholog, na.rm = TRUE) > 0.9 | all(is.na(df$human_ortholog))) { + if (mean(df$symbol == df$human_ortholog, na.rm = TRUE) > 0.9 || all(is.na(df$human_ortholog))) { df$human_ortholog <- NULL }