Learn R Programming

Seurat (version 2.1.0)

DiffTTest: Differential expression testing using Student's t-test

Description

Identify differentially expressed genes between two groups of cells using the Student's t-test

Usage

DiffTTest(object, cells.1, cells.2, genes.use = NULL, print.bar = TRUE,
  assay.type = "RNA")

Arguments

object

Seurat object

cells.1

Group 1 cells

cells.2

Group 2 cells

genes.use

Genes to test. Default is to use all genes

print.bar

Print a progress bar once expression testing begins (uses pbapply to do this)

assay.type

Type of assay to fetch data for (default is RNA)

Value

Returns a p-value ranked matrix of putative differentially expressed genes.

Examples

Run this code
# NOT RUN {
pbmc_small
DiffTTest(pbmc_small, cells.1 = WhichCells(object = pbmc_small, ident = 1),
            cells.2 = WhichCells(object = pbmc_small, ident = 2))
# }

Run the code above in your browser using DataLab