argument 2 matches multiple formal arguments

Functional enrichment analysis, visual representation with barplot: error: argument 2 matches multiple formal arguments

0

Hello,

I am performing pathway and gene enrichment analysis and I would like to visualise the enrichment result obtained from enrichGO in a barplot. I used barplot() from the package DOSE, but it keeps returning the error:
Error in barplot.default(……) : argument 2 matches multiple formal arguments.

Here is my code and some screenshot of the table I created with enrichGO (the enrichment result).

Thank you in advance!

barplot(red_selected,
x = “Count”,
color = “p.adjust”,
showCategory = 10,
font.size = 12,
title = “Red Cluster”,
label_format = 30,
horiz = TRUE
)

red_selected
red_selected


analysis


enrichment


r


gene

• 22 views

Read more here: Source link

Tagged