deseqresult2df {GeneTonic} | R Documentation

## Generate a table from the `DESeq2` results

### Description

Generate a tidy table with the results of `DESeq2`

### Usage

    deseqresult2df(res_de, FDR = NULL)

### Arguments

`res_de` | A `DESeqResults` object.
`FDR` | Numeric value, specifying the significance level for thresholding adjusted p-values. Defaults to NULL, which would return the full set of results without performing any subsetting based on FDR.

### Value

A tidy `data.frame` with the results from differential expression, sorted by adjusted p-value. If FDR is specified, the table contains only genes with adjusted p-value smaller than the value.

### Examples

    data(res_de_macrophage, package = "GeneTonic")
    head(res_macrophage_IFNg_vs_naive)
    res_df <- deseqresult2df(res_macrophage_IFNg_vs_naive)
    head(res_df)

[Package GeneTonic version 1.4.1 Index]