شعار Bioconductor Ggtree

Bioconductor Ggtree

مؤسسة
bioMate-AI
bioconductor-ggtree

توسّع 'ggtree' نظام التخطيط 'ggplot2'، الذي يطبّق قواعد الرسوم البيانية. صُممت 'ggtree' لتصوير الأشجار التطورية والبنى الأخرى الشبيهة بالأشجار وإضافة التعليقات التوضيحية إليها وإلى بياناتها.

Add to TypingMind

نظرة عامة

الناشرbioMate-AI
المستودعbiomate-bioconductor-kb
اسم المهارةbioconductor-ggtree
النجوم
804
التفريعات
66
الملفات المرفقة
تعليمات فقط
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها bioMate-AI على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Bioconductor Ggtree في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/bioMate-AI/biomate-bioconductor-kb/tree/main/skills/genomics/ggtree
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

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/genomics/ggtree .claude/skills/bioconductor-ggtree
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Bioconductor Ggtree في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Bioconductor Ggtree تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Bioconductor Ggtree بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

ggtree

ggtree extends the ggplot2 plotting system to implement the grammar of graphics for phylogenetic trees. It is designed for the visualization, manipulation, and annotation of phylogenetic trees and other tree-like structures with their associated multi-omics and clinical metadata.

Dependencies & Environment

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

  • Version: 4.2.0 · Bioconductor: 3.23 · R: ≥ 4.6
  • Imports: ape, aplot, cli, dplyr, ggfun, ggiraph, ggplot2, magrittr, purrr, rlang, scales, tidyr, tidytree, treeio, yulab.utils
  • Install: BiocManager::install("ggtree")

When to Use

  • Visualizing complex phylogenetic trees (e.g., from RAxML, IQ-TREE, or BEAST) integrated with multi-omics metadata (such as microbiome abundance, genomic features, or clinical traits).
  • Annotating tree nodes, clades, and leaves with custom shapes, colors, images, or subplots (e.g., barplots, pie charts) using the grammar of graphics.
  • Displaying circular, radial, rectangular, or slanted tree layouts for large-scale evolutionary studies containing hundreds to thousands of taxa.

When NOT to Use

  • For interactive, web-based tree exploration, use phylocanvas or iTOL instead because ggtree produces static vector graphics.
  • For simple, quick tree plotting without complex annotations, use ape::plot.phylo instead because it has zero overhead and requires no ggplot2 syntax.
  • For highly customized interactive network visualizations that are not strictly hierarchical, use ggnetwork or tidygraph instead because ggtree is optimized specifically for tree topologies.

Data Requirements

  • Input format: Tree objects of class phylo (from ape), treedata (from treeio), or standard R dendrograms.
  • Metadata: A data frame containing a column matching the tip labels of the tree.
  • Scale: Supports trees from 10 to 10,000+ tips, though rendering times scale with taxon count.

Key Parameters

  • layout ("rectangular"): Layout of the tree; options include "circular", "slanted", "fan", "radial", "unrooted", "equal_angle", or "daylight".
  • ladderize (TRUE): Logical; whether to sort the branches to make the tree look more structured.
  • branch.length ("branch.length"): Variable to determine branch lengths; set to "none" for cladograms with equal branch lengths.
  • as.Date (FALSE): Logical; whether to parse the x-axis as dates for time-resolved (chronogram) trees.
  • yscale (NULL): Variable used to scale the y-axis, useful for custom vertical spacing.

Best Practices

  • Use the treeio package to import trees from diverse software formats (e.g., BEAST, MrBayes, NHX) to preserve node-level annotations.
  • Attach external metadata using the %<+% operator to seamlessly map sample traits to tree tips or internal nodes.
  • For large trees, use layout = "circular" or layout = "fan" to maximize space efficiency and prevent text overlap.
  • Adjust label offsets and text sizes dynamically using geom_tiplab(offset = ...) to prevent labels from clipping outside the plot boundaries.

Common Pitfalls

  • Tip labels overlapping or cut off: Occurs when tree margins are too small or labels are long; fix this by adding hexpand() or xlim() to extend the plot canvas.
  • Metadata mapping failure: Occurs when the ID column in the metadata does not match the tip labels exactly; fix this by ensuring row.names or a specific ID column matches tree$tip.label.
  • Slow rendering of large trees: Occurs when adding too many individual geom layers to a tree with >10,000 tips; fix this by collapsing clades using collapse() before plotting.

Alternatives

  • ape: The foundational R phylogenetics package, faster for basic plotting but lacks ggplot2 integration.
  • ggtreeExtra: An extension of ggtree designed specifically for presenting circular layouts with multiple rings of complex genomic data.
  • phyloseq: Excellent for microbiome-specific tree plotting, but less flexible for general phylogenetic annotations than ggtree.
  • tanggle: Specifically designed for visualizing phylogenetic networks rather than strict bifurcating trees.

Citations

  • Yu, G., Smith, D. K., Zhu, H., Guan, Y., & Lam, T. T. Y. (2017). ggtree: an R package for visualization and annotation of phylogenetic trees with their covariates and other associated data. Methods in Ecology and Evolution, 8(1), 28-36.
  • Yu, G. (2022). Integration, Manipulation and Visualization of Phylogenetic Trees (1st ed.). Chapman and Hall/CRC.

References


Run this on BioMate

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

▶ Open ggtree on BioMate →

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Bioconductor Ggtree؟

توسّع 'ggtree' نظام التخطيط 'ggplot2'، الذي يطبّق قواعد الرسوم البيانية. صُممت 'ggtree' لتصوير الأشجار التطورية والبنى الأخرى الشبيهة بالأشجار وإضافة التعليقات التوضيحية إليها وإلى بياناتها.

لماذا تستخدم Bioconductor Ggtree على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Bioconductor Ggtree عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Bioconductor Ggtree في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/bioMate-AI/biomate-bioconductor-kb/tree/main/skills/genomics/ggtree. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Bioconductor Ggtree؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Bioconductor Ggtree؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Bioconductor Ggtree معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Bioconductor Ggtree مجانية؟

نشرها bioMate-AI على GitHub. راجع المستودع للاطلاع على شروط الترخيص. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇