Hi everyone and happy holidays, I wondered if there's a way of graphical representing DE analysis in terms of logFC, in particular I've a list of differential expressed miRNAs, each of them associated to a specific logFC and P-values. How can I use the`barplot`

function to associate a bar for each miRNA, having the length of the bar proportional to the corresponding logFC value and the color with p-value? I would like to have a result similar to this, something I can easily get with an enrichment analysis.
Do you recommend representations? It is important to me to compare different logFC values through the miRNAs.
Thank you very much.

Please google for volcano plots.