paperKB
coga / coga-kb
Help
Sign in

Chunk #20 — Results — Tidy interface for data operation

Source
clusterProfiler 4.0: A universal enrichment tool for interpreting omics data.
Embedded
yes

Text

To facilitate data manipulation and exploration of the enrichment result, clusterProfiler extends the dplyr verbs to support enrichResult, gseaResult, and compareClusterResult objects. Following the concept of tidiness, these verbs provide robust and standardized operations for data transformation and can be assembled into a workflow using the pipe operator (%>%). This allows users to explore the results effectively and develop reproducible and human-readable pipelines. For example, it allows the filtering of enriched results using different criteria (e.g., adjusted p values less than 0.001, and the number of input genes annotated to the enriched term should be greater than 10).dim(ego)## [1] 197 9ego2 <- filter(ego, p.adjust < 0.001, Count > 10)dim(ego2)## [1] 44 9