Skip to content

Commit

Permalink
Fix select_() replacement in plot_cells.
Browse files Browse the repository at this point in the history
  • Loading branch information
brgew committed Apr 2, 2024
1 parent 1336cc9 commit 98402ed
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: monocle3
Title: Clustering, Differential Expression, and Trajectory Analysis for
Single-Cell RNA-Seq
Version: 1.3.6
Version: 1.3.7
Authors@R: c(
person(given = "Hannah",
family = "Pliner",
Expand Down
8 changes: 8 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# Monocle3 1.3.7

### Changes

* Fix partition calculation when clusters are widely separated.
* Fix possible column selection error in plot_cells().


# Monocle3 1.3.0

### Changes
Expand Down
6 changes: 3 additions & 3 deletions R/plotting.R
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,8 @@ plot_cells_3d <- function(cds,

ica_space_df <- t(cds@principal_graph_aux[[reduction_method]]$dp_mst) %>%
as.data.frame() %>%
dplyr::select(prin_graph_dim_1 = x, prin_graph_dim_2 = y,
prin_graph_dim_3 = z) %>%
dplyr::select(prin_graph_dim_1 = {{x}}, prin_graph_dim_2 = {{y}},
prin_graph_dim_3 = {{z}}) %>%
dplyr::mutate(sample_name = rownames(.),
sample_state = rownames(.))

Expand Down Expand Up @@ -543,7 +543,7 @@ plot_cells <- function(cds,

ica_space_df <- t(cds@principal_graph_aux[[reduction_method]]$dp_mst) %>%
as.data.frame() %>%
dplyr::select(prin_graph_dim_1 = x, prin_graph_dim_2 = y) %>%
dplyr::select(prin_graph_dim_1 = {{x}}, prin_graph_dim_2 = {{y}}) %>%
dplyr::mutate(sample_name = rownames(.),
sample_state = rownames(.))

Expand Down

0 comments on commit 98402ed

Please sign in to comment.