Skip to content

Commit 2011979

Browse files
committed
BUG FIX project_waypoints(): Fix refactoring issue "Must supply a symbol or a string as argument" (#54).
1 parent 64670d0 commit 2011979

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: dynplot
22
Type: Package
33
Title: Visualising Single-Cell Trajectories
4-
Version: 1.1.0
4+
Version: 1.1.1
55
Authors@R:
66
c(person(given = "Robrecht",
77
family = "Cannoodt",

NEWS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# dynplot 1.1.1
2+
3+
* BUG FIX `project_waypoints()`: Fix refactoring issue "Must supply a symbol or a string as argument" (#54).
4+
15
# dynplot 1.1.0
26

37
Initial release on CRAN.

R/project_waypoints.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ project_waypoints_coloured <- function(
5757
if (!is.null(edge_positions)) {
5858
approx_funs <-
5959
edge_positions %>%
60-
gather(.data$comp_name, .data$comp_value, starts_with("comp_")) %>%
60+
gather("comp_name", "comp_value", starts_with("comp_")) %>%
6161
group_by(.data$from, .data$to, .data$comp_name) %>%
6262
summarise(
6363
approx_fun = {
@@ -68,7 +68,7 @@ project_waypoints_coloured <- function(
6868
.groups = "drop"
6969
)
7070

71-
waypoint_position <-
71+
waypoint_positions <-
7272
waypoints$progressions %>%
7373
left_join(approx_funs, by = c("from", "to")) %>%
7474
mutate(

0 commit comments

Comments
 (0)