Description Usage Arguments Value Examples
This function creates a new variable indicating DEGs as -1, 0, 1 based on the user-defined foldchange and p-value criteria
1 | deg_def(diffexp, pcriteria, foldchangecol, pv, fc)
|
diffexp |
data.frame/data.table with differential expression results |
pcriteria |
column name of the pvalue variable <strings> |
foldchangecol |
column name of the foldchange variable <string> |
pv |
pvalue threshold <double> |
fc |
foldchange threshold <double> |
data.table/data.frame
with a new deg variable
1 2 3 | data(diffexplist)
diffexp <- deg_def(diffexplist[[1]], "pvalue", "Log2FC", 0.05, 0)
table(diffexp[['deg']])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.