Converts a data frame containing enrichment results into a clusterProfiler enrichResult object. Assumes the data frame has columns: ID, geneID, pvalue, and optionally p.adjust.
convertdf2enr(df, pvalueCutoff = 0.1, pAdjustMethod = "BH")An enrichResult object compatible with clusterProfiler plotting functions.
Data frame containing enrichment results.
Numeric. P-value cutoff for the enrichment object (default: 0.1).
Character string specifying the p-value adjustment method (default: "BH").