Skip to content

Commit 5e7fed8

Browse files
authored
Update README.md
1 parent b39ad65 commit 5e7fed8

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ You must have Java, Python and R installed. Within R, you must have BioConductor
2525
of these you need to install. If you already have all these, skip to the next section.
2626

2727
#### Java (1.8+ recommended, but will probably work on 1.6+)
28-
netDx uses the GeneMANIA algorithm to integrate patient networks and recommend patients by similarity (Mostafavi and Morris (2008). *Genome Biol* 9:Suppl 1). GeneMANIA is currently implemented in Java, making this interpreter a requirement for netDx.
28+
netDx uses the GeneMANIA algorithm to integrate patient networks and recommend patients by similarity (Mostafavi and Morris (2008). *Genome Biol* 9:Suppl 1). GeneMANIA is currently implemented in Java, making this interpreter a requirement for netDx.
2929

3030
At command line, run `java --version`. You should see output like this:
3131
```
@@ -78,7 +78,9 @@ This section assumes you have Java, Python, R and Bioconductor installed. From c
7878
```
7979
$ cd netDx-master/
8080
$ R
81-
> install.packages(c("bigmemory","foreach","combinat","doParallel","ROCR","pracma","RColorBrewer","reshape2","igraph"))
81+
> install.packages(c('devtools','curl'))
82+
> install.packages(c("bigmemory","foreach","combinat","doParallel","ROCR","pracma","RColorBrewer","reshape2"))
83+
> devtools::install_github("igraph/rigraph") # install from CRAN has a bug and can fail (31 Aug 2017).
8284
> install.packages("netDx",type="source",repos=NULL)
8385
> install.packages("netDx.examples",type="source",repos=NULL)
8486
> install.packages("knitr") # needed to run examples
@@ -89,17 +91,19 @@ Run the medulloblastoma vignette to make sure the netDx pipeline works from end
8991
Each vignette is in Sweave format (`.Rnw`) . To run these, you need to have both `netDx` and `netDx.examples` installed. You will also need to install the R package `knitr` to compile the Sweave file. If you have [Rstudio](https://www.rstudio.com/home/) installed (highly recommended), you should be able to open the `Rnw` file and click `Compile PDF`. Alternately, you may run the vignette through an interactive R session:
9092

9193
```
92-
$ cd netDx/examples/
94+
$ cd netDx-master/examples/
9395
$ R
9496
> require(knitr)
9597
> knit2pdf("Medulloblastoma.Rnw")
9698
```
97-
This should generate `Medulloblastoma.pdf` in the `examples/` directory.
99+
This should generate `Medulloblastoma.pdf` in the `examples/` directory.
98100

99101
## Known issues with compiling pdfs
100102

101-
#### (Linux)
102-
If you are getting an error saying that R cannot find `/usr/bin/texti2dvi`, install the `texinfo` package.
103+
#### (Linux)
104+
If you are getting an error saying that R cannot find `/usr/bin/texti2dvi`, install the `texinfo` and 'texlive' packages in linux. You can use the commands:
105+
apt-get install texinfo
106+
apt-get install texlive
103107

104108
#### (OS/X): "`pdfLaTex` not found" error
105109
When compiling the pdf, you may get a message saying that `pdfLaTex` is not installed. We have had one such report on OS/X and it is known to occur after an upgrade to OS X Mavericks. The following steps resolved the issue (paraphrased from [this post](http://stackoverflow.com/questions/22081991/rmarkdown-pandoc-pdflatex-not-found)):

0 commit comments

Comments
 (0)