Please run the following steps to install RnBeads. Do not hesitate to contact us (team@rnbeads.org) if you encounter any problems.
RnBeads
Open an R
session and run the following command:
source("http://rnbeads.org/data/install.R")
Note that several packages will be downloaded from the CRAN
and bioconductor
repositories and installation therefore can take a while.
After the installation, confirm that RnBeads
can be loaded:
library(RnBeads)
Ghostscript is required for RnBeads
plotting functionality. Please install using the instructions according to your platform.
R
where to find ghostscript. To do so, it is necessary to set adapt your system’s Path
variable:Control Panel
→ System and Security
→ System
→ Advanced System Settings
→ computer name, domain and workgroup settings
→ Advanced
→ Environment Variables
Path
variable within System Variables
, select it and click on edit
.C:\Program Files\gs\gs9.23\bin
(or the directory where you installed ghostscript to) to the Path
variable. In Windows 10, you can do this by clicking on New
and entering the path. In other Windows versions, just append the path to the variable value, seperated by a semicolon.R
Ghostscript 9.23
package from http://pages.uoregon.edu/koch/R
RnBeads
plotting works properlyStart an R
session and try the following commands.
library(RnBeads)
setwd(tempdir())
rplot <- createReportPlot("test_gs")
plot(1:20, pch = 1:20)
off(rplot)
We will run the tutorial code using RStudio
. RStudio
is an integrated development environment (IDE) for the R
programming language and you can easily manage your R
code and projects with it. Although it is not required for running RnBeads
analyses, we recommond you give it a try. You can download and install it from the RStudio
website: https://www.rstudio.com/
author: Fabian Mueller <team@rnbeads.org>