Bioconductor Topgoのロゴ

Bioconductor Topgo

組織
bioMate-AI
bioconductor-topgo

topGOパッケージは、GOグラフのトポロジーを考慮しながらGO用語を検定するためのツールを提供します。さまざまな検定統計量や、GO用語間の局所的な類似性と依存性を取り除く手法を実装できます。

Add to TypingMind

概要

公開者bioMate-AI
リポジトリbiomate-bioconductor-kb
スキル名bioconductor-topgo
スター
804
フォーク
66
同梱ファイル
指示のみ
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    bioMate-AIがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Bioconductor Topgo」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/bioMate-AI/biomate-bioconductor-kb/tree/main/skills/general/topgo
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/bioMate-AI/biomate-bioconductor-kb.git /tmp/biomate-bioconductor-kb
mkdir -p .claude/skills
cp -r /tmp/biomate-bioconductor-kb/skills/general/topgo .claude/skills/bioconductor-topgo
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでBioconductor Topgoを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にBioconductor Topgoを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Bioconductor Topgoは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

topGO

Dependencies & Environment

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

  • Version: 2.64.0 · Bioconductor: 3.23 · R: ≥ 4.6
  • Depends: BiocGenerics, graph, Biobase, GO.db, AnnotationDbi, SparseM
  • Imports: lattice, matrixStats, DBI
  • Install: BiocManager::install("topGO")

When to Use

  • Performing Gene Ontology (GO) enrichment analysis using the runTest function on gene lists derived from differential expression.
  • Accounting for the hierarchical structure and dependencies of the GO DAG using algorithms like elim, weight, or weight01.
  • Testing enrichment using continuous statistical tests (e.g., Kolmogorov-Smirnov via statistic = "ks") on gene scores rather than just binary gene lists.
  • Visualizing the subgraph induced by the most significant GO terms using showSigOfNodes.

When NOT to Use

  • For pathway databases other than Gene Ontology (e.g., KEGG, Reactome) (use clusterProfiler because topGO is strictly designed for GO graph topologies).
  • For fast, simple over-representation analysis without graph-topology correction (use gprofiler2 or enrichR because topGO builds complex local graph structures which takes more time).

Data Requirements

  • A named vector of gene identifiers with associated scores (e.g., p-values) or a binary factor (0/1) indicating interesting genes.
  • A mapping between gene identifiers and GO terms (e.g., via a Bioconductor annotation package like hgu95av2.db, or custom mappings read by readMappings).

Key Parameters

  • ontology ("BP"): Character string specifying the ontology of interest; must be "BP", "MF", or "CC".
  • allGenes (none): Named vector of type numeric or factor defining the gene universe and their scores/status.
  • geneSelectionFun (none): Function to specify which genes are interesting based on the gene scores (e.g., topDiffGenes).
  • nodeSize (10): Integer used to prune the GO hierarchy from terms which have fewer than this many annotated genes.
  • annot (annFUN.db): Function which maps gene identifiers to GO terms (e.g., annFUN.db, annFUN.gene2GO, annFUN.org).
  • algorithm ("weight01"): Method for dealing with the GO graph structure in runTest (e.g., "classic", "elim", "weight", "parentchild").
  • statistic ("fisher"): The test statistic to use in runTest (e.g., "fisher", "ks", "t").

Best Practices

  • Filter out genes with low expression or small variability using genefilter before defining the gene universe to improve computational efficiency.
  • Compare results from multiple algorithms (e.g., classic vs elim) using GenTable to see how topology correction affects the significance of parent/child terms.
  • Use inverseList to easily transform custom mappings from gene-to-GOs to GO-to-genes when preparing custom annotations.
  • Use score to extract p-values from a topGOresult object for custom plotting or comparisons.

Common Pitfalls

  • Providing custom annotations with excessive redundancy: Slows down the analysis significantly. Fix: Provide only the most specific GO annotations in the custom mapping file; topGO handles the ancestor propagation.
  • Assuming all input genes are used: Not all genes in the provided allGenes list can be annotated to GO. Fix: Check the topGOdata summary to see the actual number of "feasible genes" used in the analysis.
  • Using incompatible algorithms and statistics: Some statistical tests do not work with every method (e.g., ks with parentchild). Fix: Consult the compatibility matrix and use supported combinations like elim with ks or classic with fisher.

Alternatives

  • clusterProfiler: For versatile enrichment analysis supporting multiple databases (GO, KEGG, MSigDB) and rich visualizations.
  • goseq: For GO enrichment of RNA-seq data while correcting for gene length bias.
  • enrichR: For fast, web-based enrichment analysis across dozens of gene set libraries.

Citations

  • Alexa A, Rahnenführer J, Lengauer T (2006). "Improved scoring of functional groups from gene expression data by decorrelating GO graph structure." Bioinformatics.
  • Grossmann et al. (2007). "Improved detection of overrepresentation of Gene-Ontology annotations with parent child intersection." Bioinformatics.

References


Run this on BioMate

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

▶ Open topgo on BioMate →

よくある質問

AIスキル「Bioconductor Topgo」では何ができますか?

topGOパッケージは、GOグラフのトポロジーを考慮しながらGO用語を検定するためのツールを提供します。さまざまな検定統計量や、GO用語間の局所的な類似性と依存性を取り除く手法を実装できます。

TypingMindでBioconductor Topgoを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Bioconductor Topgoはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにBioconductor Topgoをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/bioMate-AI/biomate-bioconductor-kb/tree/main/skills/general/topgoを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Bioconductor Topgoを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Bioconductor Topgoで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもBioconductor Topgoを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Bioconductor Topgo」は無料ですか?

bioMate-AIがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇