1

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

1 Answers1

0

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. If this answers your question but doesn't solve your problem, and you need more help troubleshooting, please edit your question to include the code you've tried and any error messages or other info that might help. Please see https://stackoverflow.com/help/how-to-ask / https://stackoverflow.com/help/minimal-reproducible-example / How to make a great R reproducible example for more info on asking 'good' questions, and/or ask the folks at https://bioinformatics.stackexchange.com/ as they are likely more knowledgeable on this topic.

jared_mamrot
  • 22,354
  • 4
  • 21
  • 46