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

Adding independent ranges by sample option: for zMax zMin yMin and y… #1116

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

organic-chemistry
Copy link

…Max adding the possibility to set them to the value independent. It creates different ranges for each samples

Welcome to deepTools GitHub repository! Please check the following regarding
your pull request :

  • [x ] Does the PR contain new feature?
  • Does the PR contain bugfix?
  • Does the PR contain documentation changes?
  • Does the PR contain changes to the galaxy wrapper?

Hello, in one of the use case that I have for deeptools, the range of the different samples that I want to plot using plotHeatmap are very different and not related.
Here is what is generated with the following 'default' command without setting any explicit z-ranges or y-rangesranges:

plotHeatmap  -m ../repli1D/results/K562_1000_inverse/opti/plotHeatmapmulti_meta_both_marks_init_H3K36me3  -out ../repli1D/results/K562_1000_inverse/opti/multi_meta_both_marks_init_H3K36me3.png --samplesLabel Initiation H3K36me3 --colorMap hot_r hot_r  --whatToShow 'plot, heatmap and colorbar' --sortRegions ascend  --sortUsingSamples 1 --regionsLabel 'FPKM>1' 'FPKM<1'

multi_meta_both_marks_init_H3K36me3

As the ranges are differents, the first sample is shrinked. I could set yMax yMin zMin zMax for each samples, however it would require a lot of adjustement.
I propose to add for all these parameters a keyword independent, that set their values as if the samples would be independent.
running:

plotHeatmap --zMax independent --zMin independent --yMax independent --yMin independent -m ../repli1D/results/K562_1000_inverse/opti/plotHeatmapmulti_meta_both_marks_init_H3K36me3  -out ../repli1D/results/K562_1000_inverse/opti/multi_meta_both_marks_init_H3K36me3.png --samplesLabel Initiation H3K36me3 --colorMap hot_r hot_r  --whatToShow 'plot, heatmap and colorbar' --sortRegions ascend  --sortUsingSamples 1 --regionsLabel 'FPKM>1' 'FPKM<1'

now produce the desired behaviour:
multi_meta_both_marks_init_H3K36me3

…Max adding the possibility to set them to the value independent. It creates different ranges for each samples
@organic-chemistry
Copy link
Author

Hello !
Just to follow up, I am not sure why the test failed, it look like they where not ran.
Best.

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.

None yet

2 participants