Skip to content

Commit

Permalink
More fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
ddiez committed Jul 18, 2024
1 parent fa30463 commit 02e1699
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/pseudobulk.R
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ pseudobulk.Seurat <- function(x, split.by, group.by, samples=NULL, genes=NULL, a
}

xl <- lapply(xl, function(x) {
m <- matrix(0, nrow=nrow(x), ncol=length(samples), dimnames=list(rownames(x), rownames(samples)))
m <- matrix(0, nrow=nrow(x), ncol=nrow(samples), dimnames=list(rownames(x), rownames(samples)))

if (packageVersion("Seurat") >= "5.0.0")
tmp <- Seurat::AggregateExpression(x, group.by=group.by, assay=assay)[[assay]]
Expand Down

0 comments on commit 02e1699

Please sign in to comment.