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

Errors when following the vignette #1

Open
carlosf79 opened this issue Sep 26, 2020 · 3 comments
Open

Errors when following the vignette #1

carlosf79 opened this issue Sep 26, 2020 · 3 comments

Comments

@carlosf79
Copy link

To the authors:

When running the command suppressWarnings(suppressMessages(LoadPrimetimeObjs())) # loads the processed data into R, I get the error Error in hash(c(4, 8, 3, 9, 6, 1, 2, 10, 5, 7), c(1, 2, 3, 4, 9, 10, 5, : could not find function "hash". Do you know I could fix this?

Also, the function act.zscore.lst <- LoadMaraOutput(act.dir = "data/sleep_deprivation_gene_exprs_all") needs to point to a directory, however I do not understand which one should I point it to. Are the data included in the package or should I download additional datasets?

Thank you very much!

@carlosf79
Copy link
Author

Hello, update: I have solved the issue with the hash function by installing the package hash.

However, I cannot load the data in the R session. I cannot open the connection or does not find a file named /home/yeung/projects/sleep_deprivation/Robjs/combat_sleuth_filt/dat_combat_countsfilt.5.5.Robj. I could not find similarly named files within the installed package (by looking in the installed files). How could I solve this?

Thank you very much!

@jakeyeung
Copy link
Owner

jakeyeung commented Sep 28, 2020 via email

@carlosf79
Copy link
Author

Dear Jake,

thanks a lot for having updated the package. It still has some issues, as the suppressWarnings(suppressMessages(LoadPrimetimeObjs())) function does not properly download from zenodo (giving this error:
[1] "Did not find \"data/dat_combat_countsfilt.5.5.Robj\", downloading from zenodo" [1] "https://zenodo.org/record/4057008/files/dat_combat_countsfilt.5.5.Robj?download=1" Error in readChar(con, 5L, useBytes = TRUE) : cannot open the connection

However, I managed to get the plotting to work by: 1) downloading the dat_combat_countsfilt.5.5.Robj from zenodo and putting it in a subfolder named "data" within the working directory. I have also downloaded the master from GitHub, to which I can point LoadMaraOutput (I guess that I could use the other files on zenodo, but I have not tried).

In this way, the package works, thanks for providing them, it is a great way to browse your very interesting data! :)

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