Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…velop
  • Loading branch information
AustinHartman committed Nov 7, 2022
2 parents 9a09a9b + 56202bf commit aa233d9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions R/visualization.R
Original file line number Diff line number Diff line change
Expand Up @@ -7097,6 +7097,10 @@ SingleDimPlot <- function(
dims <- colnames(x = data)[dims]
}
if (!is.null(x = cells.highlight)) {
if (inherits(x = cells.highlight, what = "data.frame")) {
stop("cells.highlight cannot be a dataframe. ",
"Please supply a vector or list")
}
highlight.info <- SetHighlight(
cells.highlight = cells.highlight,
cells.all = rownames(x = data),
Expand Down

0 comments on commit aa233d9

Please sign in to comment.