
Identifies differentially expressed genes between two groups of cells using DESeq2
DESeq2DETest(object, cells.1, cells.2, genes.use = NULL, assay.type = "RNA",
...)
Seurat object
Group 1 cells
Group 2 cells
Genes to use for test
Type of assay to fetch data for (default is RNA)
Extra parameters to pass to DESeq2::results
Returns a p-value ranked matrix of putative differentially expressed genes.
This test does not support pre-filtering of genes based on average difference (or percent detection rate) between cell groups. However, genes may be pre-filtered based on their minimum detection rate (min.pct) across both cell groups. To use this method, please install DESeq2, using the instructions at https://bioconductor.org/packages/release/bioc/html/DESeq2.html
Love MI, Huber W and Anders S (2014). "Moderated estimation of fold change and dispersion for RNA-seq data with DESeq2." Genome Biology. https://bioconductor.org/packages/release/bioc/html/DESeq2.html
# NOT RUN {
pbmc_small
DESeq2DETest(pbmc_small, cells.1 = WhichCells(object = pbmc_small, ident = 1),
cells.2 = WhichCells(object = pbmc_small, ident = 2))
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab