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

Show top 50 or 100 genes on heatmap #29

Closed
Ben7124 opened this issue Jul 3, 2022 · 2 comments
Closed

Show top 50 or 100 genes on heatmap #29

Ben7124 opened this issue Jul 3, 2022 · 2 comments

Comments

@Ben7124
Copy link

Ben7124 commented Jul 3, 2022

Hello,

I notice the heatmap only shows the top 20 differentially expressed genes. Is there any way to change this to top 50 or 100 DEGs?
Thank you.

@zhxiaokang
Copy link
Owner

Hi,

You can change the number of DEGs to be shown in heatmap in line 140 in the script scripts/visualize.R. But since more genes are shown in the figure, the settings of the figure especially the size may also need to be adjusted in lines 152~155.

And one trick for you: every time you make a change in the script and want to test it (how the new figure looks like), you need to delete the output file (the heatmap pdf file), and then just re-run python main.py. RASflow will skip everything else and only re-run the visualization step.

Let me know if you have more questions.

@zhxiaokang
Copy link
Owner

Hi @Ben7124 , I'll close it now. Feel free to reopen it if you have further questions on this issue.

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

No branches or pull requests

2 participants