Skip to content

Commit 359977e

Browse files
committed
Change the 'slot' option in getassaydata to 'layer'. Slot was deprecated as of seurat 5.0.0
1 parent 7636b3d commit 359977e

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)