Tooluck logoTooluck
SKILL.md

elastic-net-feature-selection

Agent skill fromaipoch/medical-research-skills

Use when selecting predictive genes or other molecular features from bulk expression matrices for binary case-vs-control classification with elastic net logistic regression, including coefficient path and cross-validation plots. Trigger keywords: elastic net, glmnet, feature selection, binary classification, lambda.min, lambda.1se. NOT for: survival/Cox modeling, multiclass outcomes, single-cell data, or non-expression tables.

How to install elastic-net-feature-selection

install elastic-net-feature-selection
# install the medical-research-skills pack with the skills CLI
npx skills add aipoch/medical-research-skills

# or add only this skill to Claude Code: copy the folder

awesome-med-research-skills/Data Analysis/elastic-net-feature-selection/

# into

~/.claude/skills/elastic-net-feature-selection/ (all projects)

.claude/skills/elastic-net-feature-selection/ (one project)

awesome-med-research-skills/Data Analysis/elastic-net-feature-selection/SKILL.md

MITFull file
1# Elastic Net Feature Selection
2
3## When to Use
4
5- Use this skill for binary case-vs-control classification on bulk expression matrices.
6- Use it when you need elastic net logistic regression feature selection, coefficient paths, and `cv.glmnet`-based lambda selection.
7- Use custom labels such as `Tumor` and `Normal` only when the group file still contains exactly two outcome levels.
8
9## Out of Scope
10
11- Survival or Cox modeling
12- Multiclass outcomes
13- Single-cell data
14- Non-expression tables
15
16Out-of-scope enforcement:
17
18- If the group file contains any label outside the requested `case_group` and `control_group`, the command stops with `SKILL_INVALID_DATA` instead of silently dropping samples.
19- If either requested class is missing after validation, the command stops with `SKILL_INVALID_DATA`.
20
21## When to Read External Files
22
23| Situation | File to Read | Purpose |
24|-----------|--------------|---------|
25| **Need to understand alpha, lambda choice, or feature-selection behavior** | `references/algorithm.md` | Elastic net logistic regression, penalty mixing, cross-validation, and coefficient selection assumptions |
26| **Need the authoritative executable entrypoint** | `scripts/main.R` | Run: `Rscript scripts/main.R --input_file ... --group_file ... --output_dir ...` |
27| **Need parameter examples, smoke-test commands, or recorded local runs** | `references/cli-guide.md` | Verified CLI examples for normal runs, conservative runs, and test-data runs |
28…

Excerpt shown under the repository's MIT license.

More skills in medical-research-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

nexu-io /

open-design
107k

The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create motion, prototypes, websites, apps, dashboards, presentations, images, and videos with your team and AI agents. Share work, exchange feedback, and iterate together in one workspace.

40 skills

tt-a1i /

archify
95k

Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.

CCCXOC1 skill

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates