Skip to content

Commit

Permalink
feat: handle no HO case
Browse files Browse the repository at this point in the history
  • Loading branch information
ESCRI11 committed Oct 14, 2024
1 parent bdfd150 commit a25bc55
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
if (mean(df$symbol == df$human_ortholog, na.rm = TRUE) > 0.9 | all(is.na(df$human_ortholog))) {
df$human_ortholog <- NULL
}

Expand Down

0 comments on commit a25bc55

Please sign in to comment.