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

java folder missing? #1

Closed
tapj opened this issue Nov 7, 2018 · 2 comments
Closed

java folder missing? #1

tapj opened this issue Nov 7, 2018 · 2 comments

Comments

@tapj
Copy link

tapj commented Nov 7, 2018

Hi,

I tried to run you example code:

library(omixerRpm)
# read a functional profile matrix into R or create it inside R
dat <- read.table("test/matrix.tsv", header=T, sep="\t")
# Run the module mapping on the loaded table.
mods <- rpm(dat, minimum.coverage=0.3, annotation = 1)

but I have this error

> mods <- rpm(dat, minimum.coverage=0.3, annotation = 1)
Error: Unable to access jarfile 0.3

when I l look into your code, it seems that you need to call a jar file from a java folder

 system.file("java", "omixer-rpm.jar", package = "omixerRpm")

which is not provided from this repo. Where could I find "omixer-rpm.jar"?

Thank you,

Julien

@omixer
Copy link
Owner

omixer commented Nov 8, 2018

Hi Julien,

The omixer-rpm.jar is provided in the inst/java folder of the distribution package!
However I just realized it only works for Linux!

If you are not on Linux, the new source package contains all the dependencies and should work now (I need to double check on a windows machine though, but on macOS Sierra it works)

@tapj
Copy link
Author

tapj commented Nov 8, 2018

Hi,

that's why on windows I tried to install it directly from the repository instead of the distribution package using

devtools::install_github

but cloning the repo and copy/paste the jar file on the right place (java folder) and recompile it solved my issue

@tapj tapj closed this as completed Nov 8, 2018
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