Skip to content

Conversation

@grpinto
Copy link
Collaborator

@grpinto grpinto commented Feb 10, 2025

Description:
This pull request addresses Issue #668 where users requested greater flexibility in specifying the feature space for the Dialogue implementation. Previously, the Dialogue function was limited to using PCA via the _pseudobulk_pca method, which prevented users from easily experimenting with or formally documenting the use of alternative feature reduction techniques.

Changes Introduced:

Refactored Feature Extraction:
The internal function call has been updated from _pseudobulk_pca to _pseudobulk_feature. Small adjustment to make the label flexible to the user.

Existing functionality has been preserved. For users who rely on the default PCA behavior, the changes maintain backward compatibility while offering an easy path to extend or replace the feature space as needed.
Testing & Verification:

Confirmed that the Dialogue function correctly applies the specified feature space.
Ran all existing tests to ensure no regressions in other parts of the codebase.

Copy link
Member

@Zethson Zethson left a comment

Choose a reason for hiding this comment

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

Two minor comments. Generally looks good! Thank you

@Zethson
Copy link
Member

Zethson commented Feb 21, 2025

Closing in favor of #712

@Zethson Zethson closed this Feb 21, 2025
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