DEtype: DEtype: Classifying differentially expressed genes from...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/DEtype.R

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

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
# 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)

DEsingle documentation built on Nov. 8, 2020, 7:17 p.m.