Bioconductor Qvalue logo

Bioconductor Qvalue

Organization
bioMate-AI
bioconductor-qvalue

This package takes a list of p-values resulting from the simultaneous testing of many hypotheses and estimates their q-values and local FDR values. The q-value of a test measures the proportion of false positives incurred (called the false

Overview

PublisherbioMate-AI
Repositorybiomate-bioconductor-kb
Skill namebioconductor-qvalue
Stars
804
Forks
66
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by bioMate-AI on GitHub. Read the source before you install it.

Installation

Install the Bioconductor Qvalue AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/bioMate-AI/biomate-bioconductor-kb/tree/main/skills/general/qvalue
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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/qvalue .claude/skills/bioconductor-qvalue
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Bioconductor Qvalue in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Bioconductor Qvalue on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Bioconductor Qvalue is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

qvalue

Dependencies & Environment

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

  • Version: 2.44.0 · Bioconductor: 3.23 · R: ≥ 4.6
  • Imports: ggplot2, reshape2
  • Install: BiocManager::install("qvalue")

When to Use

  • False Discovery Rate Estimation: When analyzing thousands of features (e.g., differential gene expression) to estimate q-values and control the false discovery rate using qvalue.
  • Estimating True Nulls: When you need to estimate the overall proportion of true null hypotheses ($\pi_0$) from a distribution of p-values using pi0est.
  • Local FDR Calculation: When you want to calculate the empirical Bayesian posterior probability that a null hypothesis is true, conditional on the observed p-value, using lfdr.
  • Empirical P-value Calculation: When you have observed test-statistics and simulated/resampled null statistics and need to compute p-values using empPvals.

When NOT to Use

  • Dependent Test Statistics: When tests are strongly dependent or have uncorrected batch effects (indicated by a U-shaped p-value histogram), use the sva package first to correct the data.
  • Small-scale hypothesis testing: For experiments with very few tests, use standard Benjamini-Hochberg adjustment because the estimation of $\pi_0$ is highly unstable with small sample sizes.

Data Requirements

  • A numeric vector of p-values strictly bounded between 0 and 1, OR a vector of observed statistics and a matrix of empirical null statistics.
  • P-values must follow a Uniform(0,1) distribution under the null hypothesis (the right tail of the p-value histogram should be fairly flat).

Key Parameters

  • p (required): A vector of p-values.
  • fdr.level (NULL): The level at which to control the false discovery rate; returns a logical vector indicating significant tests.
  • pfdr (FALSE): Indicator of whether to use the positive false discovery rate (pFDR) to make the estimate more robust for small p-values.
  • lambda (seq(0, 0.95, 0.05)): Values of the tuning parameter considered in estimating $\pi_0$.
  • pi0.method ("smoother"): Method for automatically handling the tuning parameter in $\pi_0$ estimation ("smoother" or "bootstrap").
  • trunc (TRUE): If TRUE, local FDR estimates > 1 are set to 1 in lfdr.
  • stat (NULL): Vector of observed test-statistics calculated on the original data for empPvals.
  • stat0 (NULL): Matrix of empirical null statistics for empPvals.

Best Practices

  • Check P-value Histogram: Always view a histogram of the p-values (hist(p)) before running qvalue to confirm the right tail is flat.
  • Evaluate Pi0 Reliability: Use plot(qobj) to view the estimated $\pi_0$ versus the tuning parameter $\lambda$ to gauge the reliability of the $\pi_0$ estimate.
  • Summarize Results: Use summary(qobj) to view the $\pi_0$ estimate and the cumulative number of significant calls at various p-value, q-value, and local FDR cutoffs.

Common Pitfalls

  • U-shaped p-value histograms: Indicates dependence among variables or a one-sided test on data with two-sided signal. Fix: Compute p-values using a different model or use the sva package to correct for dependence.
  • Assuming q-values are adjusted p-values: Users often worry when q-values are smaller than original p-values. Fix: Understand that q-values are population quantities bounded by $\pi_0$, not Bonferroni adjusted p-values.
  • Incorrect empirical p-values: Passing statistics where larger values do not indicate more evidence against the null. Fix: Ensure statistics passed to empPvals are constructed such that larger values are "more extreme" (e.g., absolute values of t-statistics).

Alternatives

  • sva: For correcting dependent variables and batch effects before computing p-values.
  • fdrtool: Estimates local FDR and tail area FDR directly from z-scores or p-values.
  • IHW: Incorporates covariates (like base mean expression) to increase statistical power.
  • ashr: Uses adaptive shrinkage to model the distribution of effects, providing robust local FDR estimates.

Citations

  • Storey JD. (2002). A direct approach to false discovery rates. Journal of the Royal Statistical Society, Series B, 64:479–498.
  • Storey JD. (2003). The positive false discovery rate: A Bayesian interpretation and the q-value. Annals of Statistics, 31:2013–2035.
  • Storey JD, Tibshirani R. (2003). Statistical significance for genome-wide experiments. Proceedings of the National Academy of Sciences, 100:9440–9445.

References


Run this on BioMate

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

▶ Open qvalue on BioMate →

Frequently asked questions

What does the Bioconductor Qvalue AI skill do?

This package takes a list of p-values resulting from the simultaneous testing of many hypotheses and estimates their q-values and local FDR values. The q-value of a test measures the proportion of false positives incurred (called the false

Why use Bioconductor Qvalue on TypingMind?

Because you install it once and use it with any model. Bioconductor Qvalue is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Bioconductor Qvalue in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/bioMate-AI/biomate-bioconductor-kb/tree/main/skills/general/qvalue. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Bioconductor Qvalue?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Bioconductor Qvalue?

As many as you like. As long as a model supports skills, you can use Bioconductor Qvalue with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Bioconductor Qvalue AI skill free?

It is published on GitHub by bioMate-AI. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇