enrobj2Matrix: Enrichment object list to matrix

View source: R/pathway_analysis2.R

enrobj2MatrixR Documentation

Enrichment object list to matrix

Description

Turn enrichment object list (generated by ClusterProfiler enricher or Gen_enrichment) into matrix of needed value for drawing heatmap.

Usage

enrobj2Matrix(enrobj, val.col = "pvalue", log = TRUE)

Arguments

enrobj

Enrichment result list.

val.col

Column to output.

log

Should the output be log10 transformed? (used if p value is input)

Value

List of enricher Object: up, down


LittleHeronCodes/Lazy2 documentation built on April 20, 2024, 11:24 p.m.