Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes error in UpdateSeuratObject due to missing global slot. #182

Merged
merged 3 commits into from
Feb 16, 2024

Conversation

ddiez
Copy link
Contributor

@ddiez ddiez commented Jan 17, 2024

This fixes the issue in Seurat's UpdateSeuratObject: satijalab/seurat#8019

When updating the DimReduc objects the slot "global" is not initialized, it is only assigned for the default reduction. This fix initializes it to FALSE when running UpdateDimReduction.

@mojaveazure mojaveazure changed the base branch from master to develop January 17, 2024 18:18
Copy link
Member

@mojaveazure mojaveazure left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey Diego,

Sorry for the delay. Thanks for catching this! I've got one small suggestion for handling global to ensure that tSNEs and UMAPs are marked as global reductions (as they are in RunTSNE() and RunUMAP()). If this looks good for you, can you accept the suggestion and I'll get it merged in?

R/seurat.R Show resolved Hide resolved
Bump develop version
@mojaveazure mojaveazure merged commit 87412bb into satijalab:develop Feb 16, 2024
@mojaveazure
Copy link
Member

Thanks for taking care of this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants