-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathREADME.Rmd
More file actions
73 lines (51 loc) · 1.84 KB
/
README.Rmd
File metadata and controls
73 lines (51 loc) · 1.84 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
---
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%"
)
```
# bbcRNA: An R package for facilitating RNA-Seq analysis
<!-- badges: start -->
<!-- badges: end -->
The goal of bbcRNA is to facilitate RNA-seq analysis, starting from counts and
ending with differentially expressed gene lists and enerichment analyses. The
major feature are classes to store different parts of the RNA-Seq analysis and
wrapper functions for running popular tools such as EdgeR and ClusterProfiler.
See [the bbcRNA website](https://vari-bbc.github.io/bbcRNA/) for a built
vignette.
## Installation
You can install bbcRNA from [GitHub](https://github.com/vari-bbc) with:
``` r
if (!requireNamespace("devtools", quietly = TRUE))
install.packages("devtools")
devtools::install_github("vari-bbc/bbcRNA")
```
## New classes defined in the bbcRNA package
New classes have been defined to enable more convenient storage of different
parts of a DE analysis.
### The BbcSE class
The `BbcSE` class extends SummarizedExperiment. Additional slots are:
1. `aln_metrics`: a matrix containing alignment metrics for samples.
2. `edger` : a `BbcEdgeR` object.
3. `deseq2`: For storing DESeqDataSet and DESeqResults; not implemented yet.
### The BbcEdgeR class
Slots are:
1. `dgelist`: a `DGEList` object.
2. `de_results`: a list. First element is always a `DGEGLM` object. The others
are edgeR result objects.
3. `norm_cts`: a `SummarizedExperiment` object for storing normalized counts.
## Usage
```{r}
# attach the package
library(bbcRNA)
# run the BbcSE constructor without any data to show the structure
BbcSE()
# run the BbcEdgeR constructor without any data to show the structure
BbcEdgeR()
```