Convert a topGOtableResult object for straightforward use in GeneTonic()

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

Examples


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

res_enrich <- shake_topGOtableResult(topgoDE_macrophage_IFNg_vs_naive)
#> Found 500 gene sets in `topGOtableResult` object.
#> Converting for usage in GeneTonic...