Skip to content

Commit

Permalink
BUG FIX project_waypoints(): Fix refactoring issue "Must supply a s…
Browse files Browse the repository at this point in the history
…ymbol or a string as argument" (#54).
  • Loading branch information
rcannood committed Jun 24, 2021
1 parent 64670d0 commit 2011979
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: dynplot
Type: Package
Title: Visualising Single-Cell Trajectories
Version: 1.1.0
Version: 1.1.1
Authors@R:
c(person(given = "Robrecht",
family = "Cannoodt",
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# dynplot 1.1.1

* BUG FIX `project_waypoints()`: Fix refactoring issue "Must supply a symbol or a string as argument" (#54).

# dynplot 1.1.0

Initial release on CRAN.
Expand Down
4 changes: 2 additions & 2 deletions R/project_waypoints.R
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ project_waypoints_coloured <- function(
if (!is.null(edge_positions)) {
approx_funs <-
edge_positions %>%
gather(.data$comp_name, .data$comp_value, starts_with("comp_")) %>%
gather("comp_name", "comp_value", starts_with("comp_")) %>%
group_by(.data$from, .data$to, .data$comp_name) %>%
summarise(
approx_fun = {
Expand All @@ -68,7 +68,7 @@ project_waypoints_coloured <- function(
.groups = "drop"
)

waypoint_position <-
waypoint_positions <-
waypoints$progressions %>%
left_join(approx_funs, by = c("from", "to")) %>%
mutate(
Expand Down

0 comments on commit 2011979

Please sign in to comment.