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 de39643 commit c133d6b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions R/pseudobulk.R
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,11 @@ pseudobulk.Seurat <- function(x, split.by, group.by, samples=NULL, genes=NULL, a
})

dge <- lapply(names(xl), function(n) {
s <- samples
s$cluster <- n
tmp <- edgeR::DGEList(xl[[n]], samples=s)
tmp$genes <- genes
#s <- samples
#s$cluster <- n
tmp <- edgeR::DGEList(xl[[n]], samples=samples, genes=genes)
tmp$samples$cluster <- n
#tmp$genes <- genes
#colnames(tmp) <- unname(colnames(tmp))
tmp
})
Expand Down

0 comments on commit c133d6b

Please sign in to comment.