Hi,
I am currently trying to use the Bioconductor package, MethylAid.
I am having problems with the visualize function. When called, following the example in section 2 (https://www.bioconductor.org/packages/release/bioc/vignettes/MethylAid/inst/doc/MethylAid.pdf, the web browser does not open a new window.
I was wondering if there is a url or another way to open the MethylAid interactive web application for your "summarized" idat files.
Please let me know if I need to add any other information about my issue.
Thanks,
Julian
More info on my issue:
The response to calling visualize(data) is the output:
The 'clickId' argument is deprecated. Please use 'click' instead. See ?imageOutput or ?plotOutput for more information. (Last used in version 0.11.1)
The 'clickId' argument is deprecated. Please use 'click' instead. See ?imageOutput or ?plotOutput for more information. (Last used in version 0.11.1)
The 'clickId' argument is deprecated. Please use 'click' instead. See ?imageOutput or ?plotOutput for more information. (Last used in version 0.11.1)
The 'clickId' argument is deprecated. Please use 'click' instead. See ?imageOutput or ?plotOutput for more information. (Last used in version 0.11.1)
The 'clickId' argument is deprecated. Please use 'click' instead. See ?imageOutput or ?plotOutput for more information. (Last used in version 0.11.1)
The 'clickId' argument is deprecated. Please use 'click' instead. See ?imageOutput or ?plotOutput for more information. (Last used in version 0.11.1)
The 'clickId' argument is deprecated. Please use 'click' instead. See ?imageOutput or ?plotOutput for more information. (Last used in version 0.11.1)
The 'clickId' argument is deprecated. Please use 'click' instead. See ?imageOutput or ?plotOutput for more information. (Last used in version 0.11.1)
The 'clickId' argument is deprecated. Please use 'click' instead. See ?imageOutput or ?plotOutput for more information. (Last used in version 0.11.1)
The 'clickId' argument is deprecated. Please use 'click' instead. See ?imageOutput or ?plotOutput for more information. (Last used in version 0.11.1)
The 'clickId' argument is deprecated. Please use 'click' instead. See ?imageOutput or ?plotOutput for more information. (Last used in version 0.11.1)
The 'clickId' argument is deprecated. Please use 'click' instead. See ?imageOutput or ?plotOutput for more information. (Last used in version 0.11.1)
The 'clickId' argument is deprecated. Please use 'click' instead. See ?imageOutput or ?plotOutput for more information. (Last used in version 0.11.1)
The 'clickId' argument is deprecated. Please use 'click' instead. See ?imageOutput or ?plotOutput for more information. (Last used in version 0.11.1)
Loading required package: shiny
Listening on http://XXXXXX
And then it hangs and never opens the methylaid interactive web application
Thanks,
Julian
Sounds like maybe you are running R on a different machine (i.e. not the same machine on which you open the web browser)? I'm guessing this based on the fact that you elided the IP address, plus this is how an R session would behave if a shiny app was loaded on a remote machine (btw you can get back to your R prompt with control-c or with Escape if you are in RStudio).
What if you manually open a web browser and paste in the URL that is displayed (the one you render as http://XXXXXX)?
Thank you for the response Dan,
What you are saying about running R on a different machine is definitely the case. I am running R through the terminal which is connected to a VM and I am trying to open us the web browser on my local computer.
I did indeed try to open up a web browser and use the URL displayed, but the page does not load.
Do you have any other suggestions?
Thanks,
Julian
Is it a VM in the cloud? If so, you need to make sure that the port being used (the number after the last colon in the URL) is open to the outside (or at least to your IP address).
If R is telling you to connect to 127.0.0.1, you need to make a change. That is a special IP address that always refers to the machine itself, so if your VM is telling you to connect to 127.0.0.1 you can't do that from another machine.
If that is the case, you need to find out the IP address or host name of the VM, which should be straightforward because you probably used this to ssh to your VM. If the IP address is 1.2.3.4 you should enter this command in R:
options(shiny.host="1.2.3.4")
And then re-run the visualize() command. R will again tell you a URL where the shiny app can be found, paste this into your web browser.
Thanks for the quick response again=)
I tried your solution and change shiny.host to my VM's IP address and re-ran the visualize command.
However, when I ran it, I got the following error:
Listening on http://1.2.3.4:XXXX
Error in startServer(host, port, handlerManager$createHttpuvApp()) :
Failed to create serve
Then when I copied the http://1.2.3.4:XXXX into a web browser, that page did not exist.
1.2.3.4 is just an example. You need to use the actual IP address or host name of the vm.
I'm not sure how to tell you exactly how to find the IP address of your vm. It depends what kind of vm it is and how you are connected to it. If you are using Amazon EC2, you want to use the 'public dns name' of the machine.
Tell me what kind of vm you are using and how you are connected to it and I might be able to tell you how to find out its IP address or host name.