From e303149db90ec3b27024aafaa0d4bba1dec3cdec Mon Sep 17 00:00:00 2001 From: enblacar Date: Tue, 6 Feb 2024 15:34:24 +0100 Subject: [PATCH] Fixing CI 9 - Pt.4 of: Flexibility in the use of slot or layer parameter in Seurat::GetAssayData(). This should avoid warnings in tests. --- R/do_DotPlot.R | 6 +++--- R/do_GroupwiseDEPlot.R | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/R/do_DotPlot.R b/R/do_DotPlot.R index 63326b7..3c76563 100644 --- a/R/do_DotPlot.R +++ b/R/do_DotPlot.R @@ -199,9 +199,9 @@ do_DotPlot <- function(sample, assay = assay, slot = slot) } else { - data <- Seurat::LayerData(object = sample, - assay = assay, - layer = slot) + data <- SeuratObject::LayerData(object = sample, + assay = assay, + layer = slot) } data <- data[features, , drop = FALSE] %>% diff --git a/R/do_GroupwiseDEPlot.R b/R/do_GroupwiseDEPlot.R index b93c4d8..0091de7 100644 --- a/R/do_GroupwiseDEPlot.R +++ b/R/do_GroupwiseDEPlot.R @@ -228,9 +228,9 @@ do_GroupwiseDEPlot <- function(sample, assay = assay, slot = slot) } else { - data <- Seurat::LayerData(object = sample, - assay = assay, - layer = slot) + data <- SeuratObject::LayerData(object = sample, + assay = assay, + layer = slot) } expr.data <- data[data.use$gene, , drop = FALSE] %>%