Skip to content

[r] Handle empty matrices when creating SOMA from Seurat#990

Merged
mojaveazure merged 5 commits intomain-oldfrom
ph/fix/seurat-empty-matrices
Feb 23, 2023
Merged

[r] Handle empty matrices when creating SOMA from Seurat#990
mojaveazure merged 5 commits intomain-oldfrom
ph/fix/seurat-empty-matrices

Conversation

@mojaveazure
Copy link
Copy Markdown
Member

Seurat allows empty matrices for counts and scale.data
Empty matrices are defined as 0x0 or 1x1 with a value of NA
Use SeuratObject::IsMatrixEmpty to determine empty matrices
Skip writing empty matrices

fixes Tiledb-Inc/tiledbsc#92

Seurat allows empty matrices for counts and scale.data
Empty matrices are defined as 0x0 or 1x1 with a value of NA
Use SeuratObject::IsMatrixEmpty to determine empty matrices
Skip writing empty matrices

fixes TileDB-Inc/tiledbsc#92
Copy link
Copy Markdown
Contributor

@johnkerl johnkerl left a comment

Choose a reason for hiding this comment

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

LGTM! :)

But I defer to @aaronwolen for final approval

Comment thread apis/r/R/SOMA.R Outdated
Copy link
Copy Markdown
Member

@aaronwolen aaronwolen left a comment

Choose a reason for hiding this comment

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

Perfect! Thanks @mojaveazure!

Could you bump the version to 0.1.22.9002 and update NEWS.md?

Update changelog
…-data/TileDB-SOMA into ph/fix/seurat-empty-matrices
@johnkerl johnkerl changed the title Handle empty matrices when creating SOMA from Seurat [r] Handle empty matrices when creating SOMA from Seurat Feb 23, 2023
@mojaveazure mojaveazure merged commit af50af9 into main-old Feb 23, 2023
@mojaveazure mojaveazure deleted the ph/fix/seurat-empty-matrices branch February 23, 2023 22:12
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.

3 participants