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

Weigted Histogram #350

Open
asmmahmoud opened this issue Dec 18, 2023 · 4 comments
Open

Weigted Histogram #350

asmmahmoud opened this issue Dec 18, 2023 · 4 comments

Comments

@asmmahmoud
Copy link

Hi,
I'm using NanoPlot v1.42 and noticed that the y-axis title of the weighted histogram (normal and log transformed) is number of bases not number of reads as non-weighted histogram. can you please clarify it and also explain to me how the histogram is weighted ?
I just have another comment if you can consider it, green color of histograms is so light, especially the generated figures in the directory. When I downloaded from the html report, color was more visible but it's png while I wanted to get the figures in svg format. I attached an example for your review.
fig1
fig1_htmlreport

Thank you,
Asmaa

@wdecoster
Copy link
Owner

See also #111

And there is a --color argument to change the color. Does that help?

@asmmahmoud
Copy link
Author

Thank you, I got how it is weighted from #111
but it is not clear for me how max of y-axis of non-weighted hist after log transformation is 80k reads while max of y-axis of weighted hist after log transformation is 60k bases.
WeightedLogTransformed_HistogramReadlength
Non_weightedLogTransformed_HistogramReadlength

@asmmahmoud
Copy link
Author

asmmahmoud commented Dec 19, 2023

I tired the blue color and it is much better. Thank you.

@asmmahmoud
Copy link
Author

Hi wdecoster,
Do you have any idea why I got this output with the log transformed plots ? Based on #111, the issue of y-axis was supposed to be fixed in v1.26 and I'm using v1.42.

Thank you,

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