README.md

subSeq: Subsampling of high-throughput sequencing count data

When you use a RNA-Seq differential expression method, such as edgeR or DESeq2, you can answer a couple of biological questions:

However, what if we're interested in questions of experimental design:

One way to help answer these questions is to pretend you have fewer reads than you do, and to see how your results (the number of significant genes, your estimates of their effects, and so on) change. If you can achieve the same results with just 10% of your reads, it indicates that (when using your particular analysis method to answer your particular question) the remaining 90% of the reads added very little. In turn, if your conclusions changed considerably between 80% and 100% of your reads, it is likely they would change more if you added additional reads.

See also subSeq: Determining appropriate sequencing depth through efficient read subsampling.

Installation

First install the Bioconductor dependencies:

if (!requireNamespace("BiocManager", quietly=TRUE))
    install.packages("BiocManager")
BiocManager::install(c("limma", "edgeR", "DESeq2", "DEXSeq", "pasilla"))

Then install the devtools package, and use it to install the qvalue 2.0 and subSeq packages.

install.packages("devtools")
library(devtools)
install_github("jdstorey/qvalue")
install_github("StoreyLab/subSeq", build_vignettes = TRUE)

Vignette

Once you've installed the package, you can access the vignette with

library(subSeq)
vignette("subSeq")

You can also run the package's unit tests with

library(testthat)
test_package("subSeq")

If you run into a problem or have a question about the software's usage, please open a GitHub issue.



Try the subSeq package in your browser

Any scripts or data that you put into this service are public.

subSeq documentation built on Nov. 8, 2020, 5:45 p.m.