-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME.Rmd
50 lines (35 loc) · 1.5 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
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
<!-- Use devtools::build_readme() to update the files -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# devil <a href="caravagnalab.github.io/rdevil"><img src="man/figures/logo.png" align="right" height="139" alt="devil website" /></a>
<!-- badges: start -->
<!-- badges: end -->
`devil` is a package to perform differential expression analysis for scRNA-seq dataset considering either single- or multi-patients experimental designs
## Installation
You can install the development version of `devil` from [GitHub](https://github.com/) with:
``` r
devtools::install_github("caravagnalab/devil")
```
## Example
This is a basic example which shows you how to fit the expression for a single gene observed in 1000 cells.
```{r example}
library(devil)
y <- t(as.matrix(rnbinom(1000, 1, .1)))
fit <- devil::fit_devil(input_matrix=y, design_matrix=matrix(1, ncol = 1, nrow = 1000), verbose=T, size_factors=T, overdispersion = T)
test <- devil::test_de(fit, c(1))
```
-----
#### Copyright and contacts
Giulio Caravagna, Giovanni Santacatterina. Cancer Data Science (CDS) Laboratory.
[![](https://img.shields.io/badge/CDS%20Lab%20Github-caravagnalab-seagreen.svg)](https://github.com/caravagnalab/)
[![](https://img.shields.io/badge/CDS%20Lab%20webpage-https://www.caravagnalab.org/-red.svg)](https://www.caravagnalab.org/)