Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
vertesy committed Sep 24, 2024
1 parent d3dcbde commit 0dc2a29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/Seurat.Utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -1192,7 +1192,7 @@ GetClusteringRuns <- function(obj = combined.obj,

# Filter clustering.results based on the numeric vector res
clustering.results <- clustering.results[clustering.res.found.numeric %in% res]
if(length(filtered.results) == 0) warning("No clustering matches `res`!", immediate. = TRUE)
if(length(clustering.results) == 0) warning("No clustering matches `res`!", immediate. = TRUE)

}

Expand Down
2 changes: 1 addition & 1 deletion R/Seurat.Utils.Visualization.R
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,7 @@ scBarplot.CellFractions <- function(

if (save_plot) {
# sfx <- shorten_clustering_names(group.by)
if (!is.null(suffix)) sfx <- suffix
sfx <- if (!is.null(suffix)) suffix else NULL
if (min_frequency) sfx <- sppp(sfx, min_frequency)
qqSave(
ggobj = pl, title = FixPlotName(plotname), also.pdf = also.pdf, w = w, h = h,
Expand Down

0 comments on commit 0dc2a29

Please sign in to comment.