Skip to content

Commit 00d4f54

Browse files
authored
Merge pull request #1 from amc-heme/oliviaellis65-fix-slot-deprecation
Apply fix for deprecated SeuratObject code
2 parents 7636b3d + 359977e commit 00d4f54

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

R/wilcoxauc.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ wilcoxauc.Seurat <- function(
9090
...
9191
) {
9292
requireNamespace("Seurat")
93-
X_matrix <- Seurat::GetAssayData(X, assay = seurat_assay, slot = assay)
93+
X_matrix <- Seurat::GetAssayData(X, assay = seurat_assay, layer = assay)
9494
if (is.null(group_by)) {
9595
y <- Seurat::Idents(X)
9696
} else {

0 commit comments

Comments
 (0)