shake_topGOtableResult {GeneTonic} | R Documentation

## Convert a topGOtableResult object

### Description

Convert a topGOtableResult object for straightforward use in `GeneTonic()`

### Usage

    shake_topGOtableResult(obj, p_value_column = "p.value_elim")

### Arguments

`obj` | A `topGOtableResult` object
`p_value_column` | Character, specifying which column the p value for enrichment has to be used. Example values are "p.value_elim" or "p.value_classic"

### Value

A `data.frame` compatible for use in `GeneTonic()` as `res_enrich`

### See Also

Other shakers: `shake_enrichResult()`

### Examples

    # res_enrich object
    data(res_enrich_macrophage, package = "GeneTonic")

    res_enrich <- shake_topGOtableResult(topgoDE_macrophage_IFNg_vs_naive)

[Package GeneTonic version 0.99.6 Index]