LittleBlueHeron
LittleBlueHeron

Reputation: 55

Convert Enrichlist to Dataframe

Is their a way to convert an enrichlist from CBNplot into a dataframe, so I can use the the function bngeneplotCustom ?

https://github.com/noriakis/CBNplot

Upvotes: 0

Views: 54

Answers (1)

jared_mamrot
jared_mamrot

Reputation: 26695

You can get the 'information' from an enrichlist as a dataframe using e.g.

e_list <- enrichKO(data)
enrichlist_df <- e_list@result

NB. the bngeneplotCustom() function appears to require the enrichlist object, not just a dataframe of the results.

Upvotes: 0

Related Questions