Skip to content

Commit

Permalink
fix dplyr error
Browse files Browse the repository at this point in the history
  • Loading branch information
cvanvelt authored Oct 19, 2022
1 parent d159bdf commit 6435807
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/KNN.graph.R
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ plot_constellation <- function(knn.cl.df,
g <- ggplot_build(p.nodes)
dots <-g[["data"]][[1]] #dataframe with geom_point size, color, coords

nodes <- left_join(cl.center.df, dots, by=c("x","y"))
nodes <- left_join(cl.center.df, dots, by=c("x","y")) %>% ungroup()


###==== if node.dodge==TRUE new xy coords are calculated for overlapping nodes.
Expand Down

0 comments on commit 6435807

Please sign in to comment.