Browse code

update readme.md

Koohoko authored on 26/04/2019 09:09:45
Showing 1 changed files

... ...
@@ -19,16 +19,22 @@ This tool was originally designed for generating recombinant virus sequences in
19 19
 ![image](https://raw.githubusercontent.com/Koohoko/Koohoko.github.io/master/SynMut/images/component.png)
20 20
 
21 21
 ### Installation 
22
-Use the below code to install the development version of this package.
22
+Use the below code to install the package.
23 23
 
24 24
 ```r
25
+# Stable version
25 26
 if (!requireNamespace("BiocManager"))
26 27
     install.packages("BiocManager")
27 28
 
28 29
 if (!requireNamespace("SynMut"))
29 30
     BiocManager::install("SynMut")
30 31
 
31
-library(SynMut)
32
+# Development version
33
+if (!requireNamespace("devtools"))
34
+    install.packages("devtools")
35
+
36
+if (!requireNamespace("SynMut"))
37
+    devtools::install_github("Koohoko/SynMut")
32 38
 ```
33 39
 
34 40
 ### Example and methods