-
Notifications
You must be signed in to change notification settings - Fork 41
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
Length vs. Q and channels epb plots empty #8
Comments
Sorry for the radio silence - I've been away. Taking a look now. |
Not sure what the problem was, but I downloaded your file and it seems to work with the latest update. Note that you need a couple more dependencies - details at the top of the readme. |
I reran it, but these two plots still are empty for me. In addition, the new corresponding plots *_per_hour.png also don't look how they should (I suppose). When I was running the script now, this also popped up:
What version of each package are you running? Also what R version? |
From the issues you're getting it really looks like a difference in the R
versions. I built and tested this (on Linux and OSX) with R 3.4.0.
My best suggestion is to update R and reinstall the relevant packages, then
try again.
…On 28 July 2017 at 20:32, Dino Jolic ***@***.***> wrote:
I reran it, but these two plots still are empty for me. In addition, the
new plots corresponding plots *_per_hour.png also don't look how they
should (I suppose).
[image: length_by_hour]
<https://user-images.githubusercontent.com/8330725/28713443-60915f5e-738f-11e7-9f9d-753680818c32.png>
[image: q_by_hour]
<https://user-images.githubusercontent.com/8330725/28713444-609521f2-738f-11e7-9128-b67c3cb7f01d.png>
When I was running the script now, this also popped up:
Loading required package: viridisLite
Attaching package: ‘data.table’
The following objects are masked from ‘package:reshape2’:
dcast, melt
What version of each package are you running? Also what R version?
R-3.3.1
ggplot2 2.2.1
viridis 0.4.0
reshape2 1.4.1
plyr 1.8.4
ggjoy 0.2.0
purrr 0.2.2.2
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA2pE9fA5-bbghiRX9UTv_JeUszdpN_1ks5sSbiwgaJpZM4OUE3e>
.
--
Rob Lanfear
Division of Ecology and Evolution,
Research School of Biology,
The Australian National University,
Canberra
www.robertlanfear.com
|
I've just done a clean local Linux installation of R 3.4.1 from source and all needed packages, but the aforementioned plots still look the same or, in this case, empty. Interestingly, I also have R 3.3.1 installed (from a .deb package) on this machine and when I used it the script worked fine. Either the script is using a recent version of a package, which I just happen to have on my local installation, or the installation of R from source and the base package is missing something which the other R distributions have... |
hmmm. Sorry it's a pain, and that I don't have any good solutions. If you
come across anything that might help out, let me know.
…On 1 August 2017 at 01:13, Dino Jolic ***@***.***> wrote:
I've just did a clean local Linux installation of R 3.4.1 from source and
all needed packages, but the aforementioned plots still look the same or,
in this case, empty.
Interestingly, I also have R 3.3.1 installed (from a .deb package) on this
machine and when I used it the script worked fine.
I just tried it on a system wide installation of R 3.3.1 on a cluster and
the the problematic plots are empty again.
Either the script is using a recent version of a package, which I just
happen to have on my local installation, or the installation of R from
source and the base package is missing something...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA2pE1nft1mvdS3kO6WaXPH6CTBLf41kks5sTe8WgaJpZM4OUE3e>
.
--
Rob Lanfear
Division of Ecology and Evolution,
Research School of Biology,
The Australian National University,
Canberra
www.robertlanfear.com
|
I'm not sure how to do this in R, but perhaps your script can log the packages used, their paths and versions? Could help to track which package causes the difference. |
@roblanf Can you list the versions of your packages I mentioned above? @wdecoster I added "Good"
"Bad"
There is a version difference in quite a few packages (even some extra ones loaded in the "bad" R) though with some of the "bad" R packages being even more recent than the "good" R but I guess it's about pinning the right one down. |
Thanks all for the tips and ideas. Here's my session info from my desktop mac (works fine):
|
My bet so far - data.table. @DNAsaurus you have 1.9.6 in your 'bad' version, and in your good version and my good version we have 1.10.4 |
And on my server, the plots work fine. Note though that I just reinstalled the latest R and all the latest packages. At least to me (obviously not done until @DNAsaurus can confirm empirically on their own system), this starts to suggest that getting all the latest packages might address this issue. Of course, it would be nice to know which package is the issue. @DNAsaurus, maybe you could update your packages one-by-one on the 'bad' system, and see which update fixes the issue (if indeed this approach fixes it at all).
|
I updated the packages one by one, at least to the version which works in "good" R where the plots are made correctly, or higher but there's no difference. The plots are still wrong with "bad" R... The only other reason I can think of is that it might have to do something with those extra packages being called in "bad" R for whatever reason - assertthat_0.1 chron_2.3-47 If it's not this then there's something missing in the base packages because it doesn't make sense otherwise - the "bad" R now has all the packages which are at least the same or higher version (as yours). This would lead me to believe that it's not a package issue. |
Hey @DNAsaurus, did you ever figure out more about what was going on here? If you have time, I'd be interested to know how you go with the latest version. |
I ran the script on a recent dataset and mostly worked fine except that the two plots length_vs_q.png and flowcell_channels_epb.png don't have anything plotted on them.
What could be the issue?
Here's also the Albacore summary file if you want to give it a try:
https://owncloud.tuebingen.mpg.de/index.php/s/VvbpGIYuCqHMfv8
Thx!
The text was updated successfully, but these errors were encountered: