Skip to content

Commit 168581a

Browse files
committed
Restore col.by.clean for plotting
1 parent 76aeec0 commit 168581a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

R/visualization.R

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9465,6 +9465,10 @@ SingleSpatialPlot <- function(
94659465
}
94669466
col.by.plot <- col.by %iff% data_sym(col.by) #had to create second variable to safely use tidyeval in plotting but not effect subsetting in gsub call later in function
94679467
col.by <- col.by %iff% paste0("`", col.by, "`")
9468+
9469+
# Store unquoted col.by name for easier access
9470+
col.by.clean <- gsub("`", "", col.by)
9471+
94689472
alpha.by <- alpha.by %iff% data_sym(alpha.by)
94699473
if (!is.null(x = cells.highlight)) {
94709474
highlight.info <- SetHighlight(

0 commit comments

Comments
 (0)