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

Aggregate genes using the same method as cells #742

Merged
merged 4 commits into from
Dec 20, 2024
Merged

Conversation

rfriedman22
Copy link
Collaborator

The current method to aggregate genes is very slow, especially when there are many small groups. For example, when I am pseudobulking modules but not TFs, each TF becomes it own "gene group." I don't see a reason why it can't be done usingmy.aggregate.Matrix like what is done for aggregating cells. I constructed a pseudobulk using both methods and the resulting matrices are equal to a tolerance of < 1e-15.

@rfriedman22 rfriedman22 merged commit dab9323 into develop Dec 20, 2024
1 check passed
@rfriedman22 rfriedman22 deleted the fast_agg_genes branch December 20, 2024 06:54
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