Tried in versions: 1.0.0 and 1.3.1.
Docs state that group_cells_by argument takes c("cluster", "partition") or "the name of a column of colData(cds)".
"The name of a column of colData(cds)" did not work for me so I made the following changes:
group_cells_by = match.arg(group_cells_by)
to
assertthat::assert_that(group_cells_by %in% c("cluster", "partition") | group_cells_by %in%
names(SummarizedExperiment::colData(cds)), msg = paste("group_cells_by must be one of",
"'cluster', 'partition', or a column in the colData table."))}
As inspired by the same functionality in the code for the color_cells_by argument.
stop("Error: unrecognized way of grouping cells.")
Tried in versions: 1.0.0 and 1.3.1. Docs state that
group_cells_by
argument takes c("cluster", "partition") or "the name of a column of colData(cds)"."The name of a column of colData(cds)" did not work for me so I made the following changes:
to
As inspired by the same functionality in the code for the
color_cells_by
argument.to
This allows me to group and color by my custom features. Shall I make a pull request?