Skip to content

Commit

Permalink
Fixing CI 7 - Pt.2 of: Flexibility in the use of slot or layer parame…
Browse files Browse the repository at this point in the history
…ter in Seurat::GetAssayData(). This should avoid warnings in tests.
  • Loading branch information
enblacar committed Feb 6, 2024
1 parent cac8258 commit 19306a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/do_DotPlot.R
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ do_DotPlot <- function(sample,
}

# Workaround parameter depreciation.
if (utils::packageVersion("Seurat" < "4.9.9")){
if (base::isTRUE(utils::packageVersion("Seurat") < "4.9.9")){
data <- Seurat::GetAssayData(object = sample,
assay = assay,
slot = slot)
Expand Down
2 changes: 1 addition & 1 deletion R/do_GroupwiseDEPlot.R
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ do_GroupwiseDEPlot <- function(sample,
dplyr::select(-dplyr::all_of(c(specificity)))

# Workaround parameter deprecation.
if (utils::packageVersion("Seurat" < "4.9.9")){
if (base::isTRUE(utils::packageVersion("Seurat") < "4.9.9")){
data <- Seurat::GetAssayData(object = sample,
assay = assay,
slot = slot)
Expand Down

0 comments on commit 19306a6

Please sign in to comment.