-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.Rmd
54 lines (40 loc) · 1.68 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# Cancer Personalized Drug Recommendation (CPDR)
<!-- badges: start -->
<!-- badges: end -->
A recommendation tool of personalized drugs for patients with cancer by reversing individual disease signatures
## Installation
Before library installation install required Bioconductor and CRAN packages through this code:
``` r
bioconductor_packages=c('edgeR','RUVSeq','DESeq2','limma','rhdf5')
#For R version 3.5> use BiocManager to install required bioconductor packages:
if (length(setdiff(bioconductor_packages, rownames(installed.packages()))) > 0) {
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install(setdiff(bioconductor_packages, rownames(installed.packages())))
}
packages=c('magrittr','dplyr','ggplot2','doParallel','foreach','Rfast','data.table')
if (length(setdiff(packages, rownames(installed.packages()))) > 0) {
install.packages(setdiff(packages, rownames(installed.packages())))
}
```
Now you can install the development version of CPDR with:
``` r
install.packages('devtools')
devtools::install_github("AllenSpike/CPDR")
```
## Additional data
By default, CPDR uses LINCS_978 from octad.db. To acquire reliable results, It is suggested to download the LINCS_all_processed data (6.5Gb) manually from https://zenodo.org/record/5880026#.YgZos9--uUl.
## Example
The vignette shows the usecase of screening effective compounds targeting individual patient with colorectal cancer.