Skip to content

Commit

Permalink
WT: Bug fix for Seurat V5
Browse files Browse the repository at this point in the history
  • Loading branch information
williamthistle committed Nov 13, 2023
1 parent 2fa5117 commit 620e2ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/process_batches.R
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,8 @@ IntegrateByBatch_ATAC <- function(proj, output_dir = getwd(), exit_with_code = F
tile_seurat <- Seurat::CreateSeuratObject(SummarizedExperiment::assays(tile_sce)$TileMatrix[, rownames(tile_reduc)],
project = "peaks",
assay = "tileMatrix")
tile_seurat <- Seurat::AddMetaData(tile_seurat, data.frame(t(SummarizedExperiment::colData(tile_sce))))
# Doesn't currently work, but I don't think it's necessary
# tile_seurat <- Seurat::AddMetaData(tile_seurat, data.frame(t(SummarizedExperiment::colData(tile_sce))))
cell.embeddings <- tile_reduc
feature.loadings <- matrix()
assay <- "tileMatrix"
Expand Down

0 comments on commit 620e2ea

Please sign in to comment.