Skip to content

Commit

Permalink
Merge pull request #182 from ddiez/fix_UpdateSeuratObject
Browse files Browse the repository at this point in the history
Fixes error in UpdateSeuratObject due to missing global slot.
  • Loading branch information
mojaveazure authored Feb 16, 2024
2 parents ee82ea7 + e3dc827 commit 87412bb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: SeuratObject
Type: Package
Title: Data Structures for Single Cell Data
Version: 5.0.1.9003
Version: 5.0.1.9004
Authors@R: c(
person(given = 'Paul', family = 'Hoffman', email = '[email protected]', role = 'aut', comment = c(ORCID = '0000-0002-7693-8957')),
person(given = 'Rahul', family = 'Satija', email = '[email protected]', role = c('aut', 'cre'), comment = c(ORCID = '0000-0001-9448-8833')),
Expand Down
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
- Properly re-export `%||%` from rlang (#178)
- Class key-based warnings (#180)
- Require R 4.1 (#180)
- Fix errors in `UpdateSeuratObject` (@ddiez, #182)

# SeuratObject 5.0.1

Expand Down
1 change: 1 addition & 0 deletions R/seurat.R
Original file line number Diff line number Diff line change
Expand Up @@ -5872,6 +5872,7 @@ UpdateDimReduction <- function(old.dr, assay) {
cell.embeddings = as(object = cell.embeddings, Class = 'matrix'),
feature.loadings = as(object = feature.loadings, Class = 'matrix'),
assay.used = assay,
global = FALSE,
stdev = as(object = stdev, Class = 'numeric'),
key = as(object = new.key, Class = 'character'),
jackstraw = new.jackstraw,
Expand Down

0 comments on commit 87412bb

Please sign in to comment.