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

Change in eRegulons filtering for Heatmap_dotplot #143

Open
wants to merge 3 commits into
base: old
Choose a base branch
from

Conversation

Goultard59
Copy link

Hello,

I noticed that the refiltering based on the TF names allows the persistence of eRegulons that are not in the eRegulons list, like extended eRegulons or +_- regulons.

For example if my subset_eRegulons contains :
'CREB1_++(1176g)'

Then in my heatmap I might also find:
'CREB1_++(1176g)',
'CREB1_+-(187g)',
'CREB1_extended_++(1176g)',
'CREB1_extended_+-(189g)'

@Goultard59 Goultard59 changed the title Chnage in eRegulons filtering for Heatmap_dotplot Change in eRegulons filtering for Heatmap_dotplot Apr 17, 2023
@SeppeDeWinter
Copy link
Collaborator

Hi @Goultard59

You're right! This is a problem.

The reason it is done like this is to be able to intersect with actual TF names (for which we have expression values (i.e. not the AUC values)).

I'm currently making changes to the code so that we don't have to rely at all anymore on the actual name of the eRegulon and do string operations (which are a bit dirty).

So I won't merge this code yet. But thank you for the contribution.

Best,

Seppe

@Goultard59
Copy link
Author

Hi,

I added a few fixes when no repressor was identified :
A fix on x text label orientation
A check for the availability of repressor that lead to an error in plotnine if split_repressor_activator is set to True

Best regards,
Adrien Dufour.

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