-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEPIC Install
23 lines (16 loc) · 1.02 KB
/
EPIC Install
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# install packages and check
devtools::install_github("GfellerLab/EPIC")
library("EPIC")
library("devtools")
## The main function in this package is `EPIC`. It needs as input a matrix of the TPM (or RPKM) gene expression from the samples for which to estimate cell proportions. One can also define the reference cells to use
``` r
out <- EPIC(bulk = bulkSamplesMatrix)
out <- EPIC(bulk = bulkSamplesMatrix, reference = referenceCellsList)
```
`out` is a list containing the various mRNA and cell fractions in each samples as well as some *data.frame* of the goodness of fit.
Values of mRNA per cell and signature genes to use can also be changed:
``` r
out <- EPIC(bulk = bulkSamplesMatrix, reference = referenceCellsList, mRNA_cell = mRNA_cell_vector, sigGenes = sigGenes_vector)
out <- EPIC(bulk = bulkSamplesMatrix, reference = referenceCellsList, mRNA_cell_sub = mRNA_cell_sub_vector)
```
### Working on integrating these alternate functions into code itself so that it can be included in the wrapper and queue submission simultaneously.