biomate-ai/biomate-bioconductor-kb/genefilter
Claude Code and agent skill by biomate-ai/biomate-bioconductor-kb
- community
Checking that the SKILL.md file is still in the repository.
Some basic functions for filtering genes.
Install
npx vskill@latest install biomate-ai/biomate-bioconductor-kb/genefilterSKILL.md
The same SKILL.md was published earlier as biomate-ai/biomate-bioconductor-kb/genefilter.
genefilter
Dependencies & Environment
Package-intrinsic requirements from the Bioconductor landing page — reproduce in any R environment.
- Version: 1.94.0 · Bioconductor: 3.23 · R: ≥ 4.6
- Depends: AnnotationDbi, annotate, Biobase, survival
- Imports: MatrixGenerics, AnnotationDbi, annotate, Biobase, survival
- System requirements: URL
- Install:
BiocManager::install("genefilter")
When to Use
- Filtering genes from a microarray or expression dataset according to specific or non-specific filtering mechanisms using
genefilter. - Selecting genes that have an expression measure above a certain threshold in at least a minimum number of samples using
kOverA. - Finding genes that are close to specific genes of interest based on distance measures using
genefinder. - Performing independent filtering to adjust p-values and increase power using
filtered_pandfiltered_R.
When NOT to Use
- For modern RNA-seq count-based differential expression; use
DESeq2oredgeRbuilt-in filtering because they are optimized for negative binomial distributions. - For single-cell RNA-seq data; use
scranorSeuratbecause they handle high sparsity and dropout rates better than basic variance/mean filters.
Data Requirements
- Input expression data typically provided as an
ExpressionSetobject (e.g., from theBiobasepackage) or a numeric matrix. - Covariates or sample metadata (e.g., factors with two levels) for specific filtering like
ttest.
Key Parameters
- k (5): The minimum number of samples required to exceed the threshold in
kOverA. - A (200): The expression measure threshold in
kOverA. - method ("euc"): The distance measure used in
genefinder(e.g.,"euc","maximum","manhattan"). - scale ("none"): Controls the scaling of the rows in
genefinder(e.g.,"none","range","zscore"). - theta (0.5): The filtering fraction/threshold used in
filtered_pandfiltered_R. - p (0.1): The p-value threshold used in
ttestfor specific filtering.
Best Practices
- Assemble individual filtering criteria (like
kOverAorttest) into a combined filtering function usingfilterfunbefore applying it withgenefilter. - Use
rowSds,rowVars, orrowttestsfor fast row-wise statistical calculations on expression matrices. - Visualize the effect of filtering on multiple testing adjustments using
rejection_plotorfilter_volcano.
Common Pitfalls
- Biased multiple testing: Using a specific filter (e.g., differential expression p-values) before applying multiple testing correction. Fix: Use non-specific filters (like overall variance via
rowVars) for independent filtering. - Scale dominance in distance metrics: Finding nearest genes with
genefinderwithout scaling can be dominated by overall expression magnitude. Fix: Setscale="zscore"orscale="range"ingenefinderto normalize row variances. - Slow row-wise operations: Using
applywith standardt.testorvaron large matrices. Fix: Use the optimizedrowttests,rowSds, androwVarsfunctions provided by the package.
Alternatives
DESeq2: For RNA-seq independent filtering integrated directly into the results extraction.edgeR: ProvidesfilterByExprwhich is specifically designed for count-based library size adjustments.matrixStats: For fast row/column-wise statistics if filtering functions are not needed.
Citations
- Bourgon R, Gentleman R, Huber W. (2010). "Independent filtering increases power for detecting differentially expressed genes." Proceedings of the National Academy of Sciences.
References
- Homepage: bioconductor.org/packages/genefilter
- Vignette: vignette_0_5fb6bf3b.txt
<!-- biomate-cta -->
Run this on BioMate
This skill is the knowledge layer — when, why, and how to use genefilter. To run this analysis on your own data with managed compute, automated QC, and reproducible outputs, use [BioMate](https://www.biomate.ai?ref=kb&pkg=genefilter) — free to start.
▶ [Open `genefilter` on BioMate →](https://www.biomate.ai?ref=kb&pkg=genefilter)
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/general/genefilter/SKILL.md
Popularity
- Repository stars
- 805
- Repository forks
- 67
- 7-day trend score
- 33
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/biomate-ai/biomate-bioconductor-kb/genefilter)