본문으로 건너뛰기
cccskills
무료GitHub에 공개

bioconductor-enrichplot

The 'enrichplot' package implements several visualization methods for interpreting functional enrichment results obtained from ORA or GSEA analysis. It is mainly designed to work with the 'clusterProfiler' package suite. All the visualizati

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md5.3 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

enrichplot

Dependencies & Environment

Package-intrinsic requirements from the Bioconductor landing page — reproduce in any R environment.

  • Version: 1.32.0 · Bioconductor: 3.23 · R: ≥ 4.6
  • Imports: aplot, DOSE, dplyr, enrichit, ggfun, ggnewscale, ggplot2, ggrepel, ggtangle, ggtree, GOSemSim, igraph, purrr, RColorBrewer, reshape2, rlang, scatterpie, tidydr, yulab.utils
  • Install: BiocManager::install("enrichplot")

When to Use

  • Enrichment Visualization: Visualizing functional enrichment results (Over-Representation Analysis [ORA] or Gene Set Enrichment Analysis [GSEA]) generated by clusterProfiler, DOSE, meshes, or ReactomePA.
  • Network Plots: Creating advanced network plots (e.g., cnetplot to show gene-concept networks, emapplot for enrichment map plots).
  • GSEA Running Scores: Generating publication-ready GSEA running score plots (gseaplot2) showing the distribution of enrichment scores across ranked gene lists.
  • Functional Clustering: Visualizing functional similarities and clustering of enriched terms using tree plots (treeplot) or heatplots (heatplot).

When NOT to Use

  • For performing the actual enrichment calculations, use clusterProfiler or fgsea instead because enrichplot is strictly a visualization package.
  • For generic, non-biological network visualizations, use ggraph or igraph directly to avoid enrichment-specific object constraints.

Data Requirements

  • Enrichment Result: An enrichment result object (typically of class enrichResult or gseaResult from clusterProfiler or related packages).
  • Fold Changes: For gene-concept networks, a named vector of fold changes (numeric) is highly recommended to color gene nodes.

Key Parameters

  • showCategory (5): Number of enriched terms/categories to display in the plot.
  • color ("p.adjust"): Variable used to color nodes or bars (e.g., "pvalue", "p.adjust", "qvalue").
  • layout ("kk"): Layout algorithm for network plots like cnetplot or emapplot.
  • foldChange (NULL): Numeric vector of fold changes to color gene nodes in cnetplot or heatplot.
  • geneSetID: Numeric index or character ID of the gene set to plot in gseaplot2.

Best Practices

  • Calculate Similarities: Calculate pairwise term similarities using pairwise_termsim() before running emapplot() or treeplot().
  • Identify Hub Genes: Use cnetplot to identify hub genes that contribute to multiple enriched pathways.
  • Avoid Overcrowding: Adjust the showCategory parameter to avoid overcrowded plots when dealing with many enriched terms.
  • Customize with ggplot2: Leverage ggplot2 functions (e.g., theme(), labs()) to customize the output plots since all enrichplot figures are standard ggplot objects.

Common Pitfalls

  • Missing Similarity Matrix: Running emapplot or treeplot throws an error about missing term similarity; fix this by running x <- pairwise_termsim(x) on your enrichment object first.
  • Overlapping Labels: Node labels in network plots overlap and are unreadable; fix this by setting cex_label_category or using ggrepel options if supported.
  • Mismatched Gene IDs: Gene names in cnetplot are displayed as cryptic Entrez IDs; fix this by using setReadable() from clusterProfiler to translate IDs to gene symbols before plotting.

Alternatives

  • clusterProfiler: Contains basic built-in plotting functions (barplots, dotplots) but lacks advanced network visualizations.
  • pathfindR: Offers active-subnetwork-oriented enrichment and visualization.
  • enrichViewNet: Specifically designed for visualizing enrichment networks using interactive layouts.

Citations

  • Yu, G. (2020). yulab-smu.top/biomedical-knowledge-mining-book/.

References

<!-- biomate-cta -->

Run this on BioMate

This skill is the knowledge layer — when, why, and how to use enrichplot. To run this analysis on your own data with managed compute, automated QC, and reproducible outputs, use BioMate — free to start.

▶ Open enrichplot on BioMate →

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

The package contains functions for exploratory oligonucleotide array analysis. The dependence on tkWidgets only concerns few convenience functions. 'affy' is fully functional without it.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bioMate-AI/biomate-bioconductor-kb7932026년 6월 21일 업데이트

This tool uses the label-tree function from HyPhy to annotate a phylogenetic tree. It allows users to select a subset of leaves using either a regular expression or a list of sequence names, and then apply a specified label to these selecte

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bioMate-AI/biomate-bioconductor-kb7932026년 6월 21일 업데이트

This package provides a client for the Bioconductor AnnotationHub web resource. The AnnotationHub web resource provides a central location where genomic files (e.g., VCF, bed, wig) and other resources from standard locations (e.g., UCSC, En

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bioMate-AI/biomate-bioconductor-kb7932026년 6월 21일 업데이트

apeglm provides Bayesian shrinkage estimators for effect sizes for a variety of GLM models, using approximation of the posterior for individual coefficients.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bioMate-AI/biomate-bioconductor-kb7932026년 6월 21일 업데이트

ASURAT is a software for single-cell data analysis. Using ASURAT, one can simultaneously perform unsupervised clustering and biological interpretation in terms of cell type, disease, biological process, and signaling pathway activity. Inputting a single-cell RNA-seq data and knowledge-based databases, such as Cell Ontology, Gene Ontology, KEGG, etc., ASURAT transforms gene expression tables into original multivariate tables, termed sign-by-sample matrices (SSMs).

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bioMate-AI/biomate-bioconductor-kb7932026년 6월 21일 업데이트

AUCell allows to identify cells with active gene sets (e.g. signatures, gene modules...) in single-cell RNA-seq data. AUCell uses the "Area Under the Curve" (AUC) to calculate whether a critical subset of the input gene set is enriched with

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bioMate-AI/biomate-bioconductor-kb7932026년 6월 21일 업데이트

bioMate-AI의 스킬 모두 보기

이 스킬의 문제 신고