Skip to content

Commit

Permalink
Fixing CI 9 - Pt.4 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 056130d commit e303149
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions R/do_DotPlot.R
Original file line number Diff line number Diff line change
Expand Up @@ -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] %>%
Expand Down
6 changes: 3 additions & 3 deletions R/do_GroupwiseDEPlot.R
Original file line number Diff line number Diff line change
Expand Up @@ -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] %>%
Expand Down

0 comments on commit e303149

Please sign in to comment.