deseq2: DESeq2 Differential Analysis

Description Usage Arguments Value Examples

Description

This function performs DESeq2 gene differential analysis to htseq counts files.

Usage

1
deseq2(n, i, samp = matrix(), datatype)

Arguments

n

integer. The number of samples for subsequent analysis. Note that n equals 2 times the number of columns of matrix samp for datatype "luad" & "brca", while it equals the number of columns of matrix samp for datatype "sarc".

i

integer. The row index of matrix samp which is obtained from the first-step or second-step resampling. Any integer is acceptable if an analysis for the entire sample group is performed.

samp

matrix obtained from first-step or second-step resampling. It can be set as an empty matrix if analysis for the entire sample group is desired.

datatype

character indicating which type of data is involved. "luad", "brca" or "sarc".

Value

a list consisted of the result of DESeq2 analysis and filtered gene list. A criterion of abs(log2-FoldChange) > 1 and adjusted P-value < 0.05 is utilized during the filtering process.

Examples

1
deseq2(10, 1, samp=samp, datatype="sarc")

Coraline66/Deseq documentation built on May 6, 2019, 12:51 p.m.