DEtype {DEsingle}R Documentation

DEtype: Classifying differentially expressed genes from DEsingle

Description

This function is used to classify the differentially expressed genes of single-cell RNA-seq (scRNA-seq) data found by DEsingle. It takes the output data frame from DEsingle as input.

Usage

DEtype(results, threshold)

Arguments

results

A output data frame from DEsingle, which contains the unclassified differential expression analysis results.

threshold

A number of (0,1) to specify the threshold of FDR.

Value

A data frame containing the differential expression (DE) analysis results and DE gene types and states.

Author(s)

Zhun Miao.

See Also

DEsingle, for the detection of differentially expressed genes from scRNA-seq data.

TestData, a test dataset for DEsingle.

Examples

# Load test data for DEsingle
data(TestData)

# Specifying the two groups to be compared
# The sample number in group 1 and group 2 is 50 and 100 respectively
group <- factor(c(rep(1,50), rep(2,100)))

# Detecting the differentially expressed genes
results <- DEsingle(counts = counts, group = group)

# Dividing the differentially expressed genes into 3 categories
results.classified <- DEtype(results = results, threshold = 0.05)


[Package DEsingle version 1.4.0 Index]