-
Notifications
You must be signed in to change notification settings - Fork 50
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
"Error in plot.window(...) : need finite 'ylim' values" plot,Chromatograms #249
Comments
What about an |
Good point. I'll implement |
Yes, I agree that an empty plot after a warning is more friendly than an error. The plot could even have |
- plot,Chromatogram[s] creates and empty plot and returns a warning if the Chromatogram[s] object is empty (issue #249).
Done - @lgatto are you also pushing to Bioc at some point? |
Will do as I have a bit of time - tonight or tomorrow morning. |
no hurry, was just asking. |
Well, I thought I would merge, but upstream vs origin is a f****ing mess. No idea how it got there, and how to sort it out. It will take some time, I'm afraid... |
On bioc now. |
Error in plot.window(...) : need finite 'ylim' values
is thrown inplot,Chromatograms
if none of theChromatogram
objects contain valid values (i.e. onlyNA
intensities for the providedrtime
).I would like to catch this error and draw an empty plot with
ylim = c(1, 0)
. That OK with you @lgatto ?Note: this applies also to
plot,Chromatogram
.The text was updated successfully, but these errors were encountered: