diff --git a/DESCRIPTION b/DESCRIPTION index 1ab39cd1..ab0d488a 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -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 = 'hoff0792@alumni.umn.edu', role = 'aut', comment = c(ORCID = '0000-0002-7693-8957')), person(given = 'Rahul', family = 'Satija', email = 'seurat@nygenome.org', role = c('aut', 'cre'), comment = c(ORCID = '0000-0001-9448-8833')), diff --git a/NEWS.md b/NEWS.md index bb3859b6..f56bdbc9 100644 --- a/NEWS.md +++ b/NEWS.md @@ -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 diff --git a/R/seurat.R b/R/seurat.R index ed323cea..4c85adc7 100644 --- a/R/seurat.R +++ b/R/seurat.R @@ -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,