Skip to content

Commit

Permalink
./
Browse files Browse the repository at this point in the history
  • Loading branch information
jinghuazhao committed Apr 23, 2024
1 parent 7f9dd84 commit a0f916d
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions R/peer.md
Expand Up @@ -4,14 +4,15 @@ sort: 15

# peer

An R package is done as follows,
Web: [GitHub](https://github.com/PMBio/peer) ([wiki](https://github.com/PMBio/peer/wiki))

## R installation

```bash
git clone https://github.com/PMBio/peer PMBio
cd PMBio
module load cmake/2.8 python/2.7
module load cmake/2.8 python/2.7 R/3.4
mkdir build && cd build
module load R/3.4
cmake -DBUILD_R_PACKAGE=1 ..
make
## build/ version
Expand All @@ -24,6 +25,8 @@ R CMD INSTALL peer -l ..

Therefore the R package has to be called using module `R/3.4`, such as `library(peer,lib.loc='/rds/project/jmmh2/rds-jmmh2-public_databases/software/peer/PMBio')`.

One would attempt to have a full installation by -DCMAKE_INSTALL_PREFIX= but it appears not working.

We can check if it works under module `ceuadmin/R`. The following script is extracted from `vigette("OUTRIDER")`.

```r
Expand Down Expand Up @@ -67,7 +70,9 @@ ods <- OUTRIDER::plotCountCorHeatmap(ods, normalized=TRUE)

which is rather confusing with so many uses of `ods`.

The following records its setup using conda, <https://www.biostars.org/p/9461665/>
## conda

This follows <https://www.biostars.org/p/9461665/>,

```bash
module load miniconda/2
Expand Down

0 comments on commit a0f916d

Please sign in to comment.