View source: R/pathway_analysis2.R
enrobj2Matrix | R Documentation |
Turn enrichment object list (generated by ClusterProfiler enricher or Gen_enrichment) into matrix of needed value for drawing heatmap.
enrobj2Matrix(enrobj, val.col = "pvalue", log = TRUE)
enrobj |
Enrichment result list. |
val.col |
Column to output. |
log |
Should the output be log10 transformed? (used if p value is input) |
List of enricher Object: up, down
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.