From 25838d9c8b9a565c9d106b27d805a8714aacd8c8 Mon Sep 17 00:00:00 2001 From: Diego Diez Date: Thu, 18 Jul 2024 21:21:19 +0900 Subject: [PATCH] Make sort_samples FALSE by default. --- R/pseudobulk.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/pseudobulk.R b/R/pseudobulk.R index 14eb9dc..148e405 100644 --- a/R/pseudobulk.R +++ b/R/pseudobulk.R @@ -18,7 +18,7 @@ pseudobulk <- function(x, split.by, group.by, samples=NULL, genes=NULL, sort_sam #' @rdname pseudobulk #' @export -pseudobulk.Seurat <- function(x, split.by, group.by, samples=NULL, genes=NULL, assay=NULL, layers="counts", sort_samples=TRUE, ...) { +pseudobulk.Seurat <- function(x, split.by, group.by, samples=NULL, genes=NULL, assay=NULL, layers="counts", sort_samples=FALSE, ...) { if (!is.null(assay)) DefaultAssay(x) <- assay