Skip to content

Apply min/max.genes filter to pre-computed matrices#11

Open
ivokwee wants to merge 1 commit intomainfrom
fix/geneset-size-filter-matrix
Open

Apply min/max.genes filter to pre-computed matrices#11
ivokwee wants to merge 1 commit intomainfrom
fix/geneset-size-filter-matrix

Conversation

@ivokwee
Copy link
Copy Markdown
Member

@ivokwee ivokwee commented Apr 27, 2026

Fixes #8.

min.genes/max.genes were silently ignored when matG was passed as a pre-computed matrix. Now .convert_geneset_to_matrix filters matrix columns by colSums (non-zero entries) instead of returning as-is, and all plaid* functions call it unconditionally for all input types.

(done by Claudio..)

Fixes #8: .convert_geneset_to_matrix now filters matrix columns by
colSums instead of returning as-is, and all plaid* functions call it
unconditionally for all input types.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ivokwee ivokwee requested a review from zitoa April 27, 2026 07:57
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.

Min.genes and max.genes parameter

1 participant