Skip to content

Commit be61983

Browse files
committed
Fix bug in splnr_plot_featureRep
1 parent 920c619 commit be61983

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

R/splnr_featureRep.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ splnr_plot_featureRep <- function(df,
222222
rpl <- namesToReplace %>%
223223
dplyr::filter(.data$nameVariable %in% df$feature) %>%
224224
dplyr::select("nameVariable", "nameCommon") %>%
225+
dplyr::mutate(nameVariable = stringr::str_c("^", nameVariable, "$")) %>%
225226
tibble::deframe()
226227

227228
df <- df %>%

0 commit comments

Comments
 (0)