Skip to content

Commit

Permalink
Fix minor syntax issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick-Eagles committed Oct 25, 2023
1 parent 5618f5d commit 1029669
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/spot_plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ spot_plot <- function(

# State assumptions about columns expected to be in the colData
expected_cols <- c("array_row", "array_col", "sample_id", "exclude_overlapping")
if (!all(expected_cols %in% colnames(colnames(colData(spe))))) {
if (!all(expected_cols %in% colnames(colData(spe)))) {
stop(
sprintf(
'Missing at least one of the following colData columns: "%s"',
Expand Down

0 comments on commit 1029669

Please sign in to comment.