Description Usage Arguments Details Value Author(s) Examples
Transform the RNA-seq counts or normalized expression matrix into binary differential expression matrix of -1, 0 and 1, which indicates the down-regulation, no change and up-regulation.
1 2 |
exp |
a matrix or data frame for expression data. The expression value can be counts or normalized expression data |
cl |
a vector of 0 and 1. It has equal length with the column number of exp. 1 indicates the corresponding samples are patients and 0 is control or normal |
method |
defines the methods applied for DE analysis. The possible value is 'edger', 'deseq2', 'normalized'. 'edger' or 'deseq2' is used for RNA-seq count data; 'normalized' is used for normalized RNA-seq or microarray data |
cutoff |
the p-value cutoff for DEGs |
cores |
the thread number |
For each sample in 'exp', 'cl' defines the patients and normal. The normal samples are used to construct the expression references with negative binomial distribution (e.g. method='edger' or method='deseq2') or a normal distribution (method='normalized').
When counts data are used, the DEG analysis is performed using the functions implemented by 'DESeq2' or 'edgeR'. The dispersion and mu values are estimated.
A deg class object with value of 1, 0 and -1.
Guofeng Meng
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.