https://github.com/ctlab/phantasus
Revision 7682b610be7f6d26e9802883447f8a18092e1d62 authored by baba-beda on 17 October 2017, 15:08:52 UTC, committed by baba-beda on 17 October 2017, 15:08:52 UTC
1 parent b19c321
Raw File
Tip revision: 7682b610be7f6d26e9802883447f8a18092e1d62 authored by baba-beda on 17 October 2017, 15:08:52 UTC
V0.99.23
Tip revision: 7682b61
README.md
[![Travis-CI Build Status](https://travis-ci.org/ctlab/phantasus.svg?branch=master)](https://travis-ci.org/ctlab/phantasus)
[![codecov](https://codecov.io/gh/ctlab/phantasus/branch/master/graph/badge.svg)](https://codecov.io/gh/ctlab/phantasus)


This project contains several tools for gene expression analysis with help of R/Bioconductor`

## Installation

The package requires installing `devtools` package and Bioconductor library set up.

From shell do `git clone` with submodules:

```{shell}
git clone --recursive https://github.com/ctlab/phantasus
R -e 'devtools::install_github("assaron/GEOquery")' # Installing GEOquery with better caching support
R -e 'devtools::install("phantasus")'
````

## Running

In R:

```{r}
library(phantasus)
servePhantasus('0.0.0.0', 8000, cacheDir='cache')
```

Open `http://localhost:8000` in your browser.

## System dependencies

There are several system packages that have to be installed on the system. The names of these packages will be displayed during installation. On Ubuntu can install them beforehand and alltogether using command:

```{bash}
sudo apt-get install libapparmor-dev libprotobuf-dev protobuf-compiler libcurl4-openssl-dev
```

## Installation example (CentOS 7)

Update packages and install `R` and dependencies:
```
yum update
yum install openssl-devel protobuf-compiler R R-Rcpp R-Rcpp-devel libcurl-devel libxml2-devel protobuf-devel git screen
```

Install `devtools` and `bioclite`:
```
R -e 'install.packages("devtools")'
R -e 'source("https://bioconductor.org/biocLite.R"); biocLite()'
R -e 'devtools::install_github("assaron/GEOquery")'
```

Install `phantasus`:
```
git clone --recursive https://github.com/ctlab/phantasus
R -e 'devtools::install("phantasus")'
```

Run `phantasus` at 80 port in screen:
```
screen -S phantasus-server
R -e 'library(phantasus); servePhantasus("0.0.0.0", 80, cacheDir="/var/phantasus/cache")'
```

Check `http://0.0.0.0`
back to top