[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CVVR98GDDPD2Y7YE0PDQJ4":3,"skill-same:01M7CVVR98GDDPD2Y7YE0PDQJ4":133},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7CVVR98GDDPD2Y7YE0PDQJ4","univariate-multivariable-cox-regression",null,"Use when running prognostic survival analysis on a clinical cohort with time-to-event data to estimate univariate and multivariable Cox proportional hazards models, export result tables, and generate forest plots. NOT for: nomogram construction, calibration curves, time-dependent ROC analysis, or model training\u002Ffeature selection beyond the built-in univariate screening rule.","mrsonord2240\u002Fopenscience-specialists","mrsonord2240","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F76487430?v=4","01M7CTEM40S43GSJZ9A3YCCXZK","Samuel Nord","01M7CTEM4K69JD1GBYNHVJ9ZP4",2,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialists\u002Freal-world-evidence-epidemiologist\u002Fversions\u002F1.0.0\u002Fpackage\u002Fskills\u002Funivariate-multivariable-cox-regression\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: univariate-multivariable-cox-regression\ndescription: \"Use when running prognostic survival analysis on a clinical cohort with time-to-event data to estimate univariate and multivariable Cox proportional hazards models, export result tables, and generate forest plots. NOT for: nomogram construction, calibration curves, time-dependent ROC analysis, or model training\u002Ffeature selection beyond the built-in univariate screening rule.\"\n---\n\n# Univariate and Multivariable Cox Regression\n\n## When to Use\n\nUse this skill when you need to:\n- run univariate and multivariable Cox regression on a clinical survival cohort;\n- identify prognostic clinical variables associated with time-to-event outcomes;\n- export hazard-ratio tables and then render forest plots from those results.\n\nTypical user requests:\n- \"Run single-factor and multi-factor Cox regression on this survival dataset.\"\n- \"Find prognostic variables from my clinical cohort and give me forest plots.\"\n- \"Use futime and fustat to do Cox regression for age, stage, and risk.\"\n\n## When Not to Use\n\nDo not use this skill for:\n- nomogram construction or calibration analysis;\n- time-dependent ROC analysis or external prognostic model validation;\n- feature discovery pipelines beyond the built-in univariate screening rule;\n- non-survival outcomes such as binary diagnosis or differential expression.\n\n## When to Read External Files\n\n| Situation | File to Read | Purpose |\n|-----------|--------------|---------|\n| **Need algorithm details** | `references\u002Falgorithm.md` | Statistical workflow, assumptions, and feature-selection rule |\n| **Need to run analysis** | `scripts\u002Fmain.R` | Execute `Rscript scripts\u002Fmain.R \u003Ccommand> [options]` |\n| **Encounter errors** | `references\u002Ftroubleshooting.md` | Common `SKILL_*` errors and fixes |\n| **Need CLI examples** | `references\u002Fcli-guide.md` | Command-specific argument examples |\n| **Need test data** | `tests\u002Fdata\u002F` | Minimal runnable cohort for smoke testing |\n\n---\n\n## Usage\n\n### 1. Run Cox Analysis\n\n```bash\nRscript scripts\u002Fmain.R analyze \\\n  --data_file .\u002Fclinical_data.csv \\\n  --features age,gender,stage,risk \\\n  --time_col futime \\\n  --event_col fustat \\\n  --output_dir .\u002Foutput\u002F \\\n  --seed 42\n```\n\n### 2. Generate Univariate Forest Plot\n\n```bash\nRscript scripts\u002Fmain.R forest-plot \\\n  --data_file .\u002Foutput\u002Ftable\u002Fprognosis_uni_cox_results.xlsx \\\n  --plot_save .\u002Foutput\u002Fplot\u002Funi_forest_plot.pdf\n```\n\n### 3. Generate Multivariable Forest Plot\n\n```bash\nRscript scripts\u002Fmain.R multi-forest-plot \\\n  --data_file .\u002Foutput\u002Ftable\u002Fprognosis_multi_cox_results.xlsx \\\n  --plot_save .\u002Foutput\u002Fplot\u002Fmulti_forest_plot.pdf\n```\n\n---\n\n## Arguments\n\n### Analyze Command\n\n| Short | Long | Type | Default | Description |\n|-------|------|------|---------|-------------|\n| `-d` | `--data_file` | character | **required** | Clinical CSV file with sample IDs as row names |\n| `-f` | `--features` | character | `age,gender,stage,Tstage,Nstage,Mstage,risk` | Comma-separated features for Cox analysis |\n| `-t` | `--time_col` | character | `futime` | Survival time column |\n| `-e` | `--event_col` | character | `fustat` | Event column encoded as `1=event`, `0=censored` |\n| `-u` | `--skip_univariate` | character | `false` | Skip univariate screening and fit multivariable model on all requested features |\n| `-o` | `--output_dir` | character | `.\u002Foutput\u002F` | Output directory |\n|  | `--overwrite` | flag | `FALSE` | Allow writing into a non-empty output directory |\n| `-s` | `--seed` | integer | `42` | Random seed for reproducibility |\n| `-T` | `--timeout_seconds` | integer | `0` | Elapsed time limit in seconds; `0` disables timeout |\n\n### Forest Plot Commands\n\nThese arguments apply to both `forest-plot` and `multi-forest-plot`.\n\n| Short | Long | Type | Default | Description |\n|-------|------|------|---------|-------------|\n| `-d` | `--data_file` | character | **required** | Cox result table in `.xlsx`, `.xls`, or `.csv` format |\n| `-p` | `--plot_save` | character | **required** | Output PDF path |\n| `-w` | `--width` | double | `8` | Plot width in inches |\n| `-H` | `--height` | double | `6` | Plot height in inches |\n| `-F` | `--font_size` | double | `11` | Font size for forest-plot labels |\n| `-s` | `--seed` | integer | `42` | Random seed for reproducibility |\n| `-T` | `--timeout_seconds` | integer | `0` | Elapsed time limit in seconds; `0` disables timeout |\n\n---\n\n## Input Format\n\n### Clinical Data (`--data_file` for `analyze`)\n\nCSV file with sample IDs as row names and one column per feature\u002Fend-point variable.\n\n```csv\n\",age,gender,stage,futime,fustat,risk\nSAMPLE_001,65,Male,StageIII,365,1,high\nSAMPLE_002,52,Female,StageII,730,0,low\nSAMPLE_003,78,Male,StageIV,180,1,high\n```\n\n**Requirements**\n- The file must be CSV.\n- Sample IDs must be stored in the first column as row names.\n- `time_col` must contain finite numeric values greater than `0`.\n- `event_col` must contain only `0` and `1`.\n- All requested `features`, `time_col`, and `event_col` must exist.\n- At least 10 complete samples and at least 2 events are required after filtering incomplete rows.\n\n### Cox Result Table (`--data_file` for plot commands)\n\nThe plotting commands read the output table created by `analyze`.\n\nRequired columns:\n- `Characteristics`\n- `Total(N)`\n- `HR (95% CI)`\n- `P value`\n\n---\n\n## Output Files\n\n### Analyze Command\n\n| File | Description |\n|------|-------------|\n| `table\u002Fprognosis_uni_cox_results.xlsx` | Univariate Cox result table. Present unless `--skip_univariate true` |\n| `table\u002Fprognosis_multi_cox_results.xlsx` | Multivariable Cox result table |\n| `data\u002Fanalysis_data.rds` | Serialized complete-case dataset used for Cox fitting |\n| `session_info.txt` | Session info and recorded run parameters |\n\n### Plot Commands\n\n| File | Description |\n|------|-------------|\n| `plot\u002Funi_forest_plot.pdf` | PDF forest plot generated by `forest-plot` |\n| `plot\u002Fmulti_forest_plot.pdf` | PDF forest plot generated by `multi-forest-plot` |\n| `plot\u002Fsession_info.txt` | Session info and plotting parameters written beside the PDF |\n\n### Result Table Columns\n\n| Column | Description |\n|--------|-------------|\n| `Characteristics` | Variable name for continuous terms, or level label for categorical terms |\n| `Total(N)` | Number of complete-case samples used for modeling |\n| `HR (95% CI)` | Hazard ratio with 95% confidence interval |\n| `P value` | Wald-test p-value formatted to three decimals or `\u003C0.001` |\n| `feature` | Source feature corresponding to each row |\n\n---\n\n## Workflow\n\n### Step 1: Validate and Prepare Data\n- Read the clinical CSV.\n- Check required columns and data types.\n- Convert character predictors to factors.\n- Remove rows with missing values across requested model variables.\n\n### Step 2: Run Univariate Cox Models\n- Fit one Cox model per feature when `--skip_univariate false`.\n- Export hazard ratios, confidence intervals, and p-values.\n\n### Step 3: Run Multivariable Cox Model\n- Use all significant univariate features with `p \u003C 0.05`.\n- If fewer than 3 significant features are found, fall back to all requested features.\n- Export adjusted hazard ratios, confidence intervals, and p-values.\n\n### Step 4: Generate Forest Plots\n- Read the result table.\n- Parse `HR (95% CI)` values.\n- Render a one-page PDF forest plot.\n\n---\n\n## Examples\n\n### Basic Analysis\n\n```bash\nRscript scripts\u002Fmain.R analyze \\\n  -d tests\u002Fdata\u002Fsample_clinical_survival_data.csv \\\n  -o tests\u002Fexpected_output\u002F \\\n  --overwrite\n```\n\n### Analysis With Selected Features and Overwrite\n\n```bash\nRscript scripts\u002Fmain.R analyze \\\n  -d clinical_data.csv \\\n  -f age,gender,stage,risk \\\n  -o .\u002Fresults\u002F \\\n  --overwrite \\\n  -T 600\n```\n\n### Direct Multivariable Fit Without Univariate Screening\n\n```bash\nRscript scripts\u002Fmain.R analyze \\\n  -d clinical_data.csv \\\n  -f age,stage,risk \\\n  -u true \\\n  -o .\u002Fresults\u002F\n```\n\n### Plot Generation\n\n```bash\nRscript scripts\u002Fmain.R forest-plot \\\n  -d .\u002Fresults\u002Ftable\u002Fprognosis_uni_cox_results.xlsx \\\n  -p .\u002Fresults\u002Fplot\u002Funi_forest_plot.pdf \\\n  -w 10 -H 7 -F 12\n\nRscript scripts\u002Fmain.R multi-forest-plot \\\n  -d .\u002Fresults\u002Ftable\u002Fprognosis_multi_cox_results.xlsx \\\n  -p .\u002Fresults\u002Fplot\u002Fmulti_forest_plot.pdf \\\n  -w 10 -H 7 -F 12\n```\n\n---\n\n## Error Handling\n\n| Error | Cause | Solution |\n|-------|-------|----------|\n| `SKILL_INVALID_PARAMETER` | Missing required CLI value, invalid extension, unknown command, unreadable CSV input, invalid clinical values, too few complete samples\u002Fevents, or Cox model fitting failure caused by unsupported input data | Check argument names, file types, clinical value constraints, and model input suitability |\n| `SKILL_FILE_NOT_FOUND` | Input file path does not exist | Verify the input path |\n| `SKILL_MISSING_COLUMNS` | Required columns are absent from the clinical file or plot table | Check column names and spelling |\n| `SKILL_EMPTY_DATA` | Input file or plot table contains no usable rows | Verify file content and export process |\n| `SKILL_PACKAGE_NOT_FOUND` | Required R package is missing | Install the listed CRAN package(s) |\n\n**IF error persists**, READ: `references\u002Ftroubleshooting.md`\n\n---\n\n## Testing\n\n### Smoke Test With Included Data\n\n```bash\nRscript scripts\u002Fmain.R --help\n\nRscript scripts\u002Fmain.R analyze \\\n  -d tests\u002Fdata\u002Fsample_clinical_survival_data.csv \\\n  -o tests\u002Fexpected_output\u002F \\\n  --overwrite\n\nRscript scripts\u002Fmain.R forest-plot \\\n  -d tests\u002Fexpected_output\u002Ftable\u002Fprognosis_uni_cox_results.xlsx \\\n  -p tests\u002Fexpected_output\u002Fplot\u002Funi_forest_plot.pdf\n\nRscript scripts\u002Fmain.R multi-forest-plot \\\n  -d tests\u002Fexpected_output\u002Ftable\u002Fprognosis_multi_cox_results.xlsx \\\n  -p tests\u002Fexpected_output\u002Fplot\u002Fmulti_forest_plot.pdf\n```\n\n### Automated Smoke Test Script\n\n```bash\nRscript tests\u002Frun_smoke_test.R\n```\n\nOptional shell wrapper:\n\n```bash\nbash tests\u002Frun_smoke_test.sh\n```\n\n### Expected Outputs\n\n```text\ntests\u002Fexpected_output\u002F\n|-- data\u002Fanalysis_data.rds\n|-- plot\u002Fmulti_forest_plot.pdf\n|-- plot\u002Fsession_info.txt\n|-- plot\u002Funi_forest_plot.pdf\n|-- session_info.txt\n|-- table\u002Fprognosis_multi_cox_results.xlsx\n`-- table\u002Fprognosis_uni_cox_results.xlsx\n```\n\n---\n\n## References\n\n1. Cox DR (1972). Regression Models and Life-Tables. *Journal of the Royal Statistical Society: Series B*.\n2. Therneau TM, Grambsch PM (2000). *Modeling Survival Data: Extending the Cox Model*.\n3. Harrell FE (2015). *Regression Modeling Strategies*.\n\n**For detailed algorithm**, READ: `references\u002Falgorithm.md`\n\n---\n\n## Implementation Checklist\n\n- [x] CLI parsing with `optparse`\n- [x] `set.seed()` for reproducibility\n- [x] `requireNamespace()` dependency checks\n- [x] Session info recording\n- [x] Timeout parameter exposed as CLI option\n- [x] File reading instructions in `SKILL.md`\n- [x] Modular script structure in `scripts\u002F`\n- [x] Test data provided in `tests\u002Fdata\u002F`\n- [x] Error handling with `SKILL_*` codes\n- [x] References documented in `references\u002F`\n\n---\n\n*Last updated: 2026-04-16 | Version: 1.1.0*\n","# Univariate and Multivariable Cox Regression\n\n## When to Use\n\nUse this skill when you need to:\n- run univariate and multivariable Cox regression on a clinical survival cohort;\n- identify prognostic clinical variables associated with time-to-event outcomes;\n- export hazard-ratio tables and then render forest plots from those results.\n\nTypical user requests:\n- \"Run single-factor and multi-factor Cox regression on this survival dataset.\"\n- \"Find prognostic variables from my clinical cohort and give me forest plots.\"\n- \"Use futime and fustat to do Cox regression for age, stage, and risk.\"\n\n## When Not to Use\n\nDo not use this skill for:\n- nomogram construction or calibration analysis;\n- time-dependent ROC analysis or external prognostic model validation;\n- feature discovery pipelines beyond the built-in univariate screening rule;\n- non-survival outcomes such as binary diagnosis or differential expression.\n\n## When to Read External Files\n\n| Situation | File to Read | Purpose |\n|-----------|--------------|---------|\n| **Need algorithm details** | `references\u002Falgorithm.md` | Statistical workflow, assumptions, and feature-selection rule |\n| **Need to run analysis** | `scripts\u002Fmain.R` | Execute `Rscript scripts\u002Fmain.R \u003Ccommand> [options]` |\n| **Encounter errors** | `references\u002Ftroubleshooting.md` | Common `SKILL_*` errors and fixes |\n| **Need CLI examples** | `references\u002Fcli-guide.md` | Command-specific argument examples |\n| **Need test data** | `tests\u002Fdata\u002F` | Minimal runnable cohort for smoke testing |\n\n---\n\n## Usage\n\n### 1. Run Cox Analysis\n\n```bash\nRscript scripts\u002Fmain.R analyze \\\n  --data_file .\u002Fclinical_data.csv \\\n  --features age,gender,stage,risk \\\n  --time_col futime \\\n  --event_col fustat \\\n  --output_dir .\u002Foutput\u002F \\\n  --seed 42\n```\n\n### 2. Generate Univariate Forest Plot\n\n```bash\nRscript scripts\u002Fmain.R forest-plot \\\n  --data_file .\u002Foutput\u002Ftable\u002Fprognosis_uni_cox_results.xlsx \\\n  --plot_save .\u002Foutput\u002Fplot\u002Funi_forest_plot.pdf\n```\n\n### 3. Generate Multivariable Forest Plot\n\n```bash\nRscript scripts\u002Fmain.R multi-forest-plot \\\n  --data_file .\u002Foutput\u002Ftable\u002Fprognosis_multi_cox_results.xlsx \\\n  --plot_save .\u002Foutput\u002Fplot\u002Fmulti_forest_plot.pdf\n```\n\n---\n\n## Arguments\n\n### Analyze Command\n\n| Short | Long | Type | Default | Description |\n|-------|------|------|---------|-------------|\n| `-d` | `--data_file` | character | **required** | Clinical CSV file with sample IDs as row names |\n| `-f` | `--features` | character | `age,gender,stage,Tstage,Nstage,Mstage,risk` | Comma-separated features for Cox analysis |\n| `-t` | `--time_col` | character | `futime` | Survival time column |\n| `-e` | `--event_col` | character | `fustat` | Event column encoded as `1=event`, `0=censored` |\n| `-u` | `--skip_univariate` | character | `false` | Skip univariate screening and fit multivariable model on all requested features |\n| `-o` | `--output_dir` | character | `.\u002Foutput\u002F` | Output directory |\n|  | `--overwrite` | flag | `FALSE` | Allow writing into a non-empty output directory |\n| `-s` | `--seed` | integer | `42` | Random seed for reproducibility |\n| `-T` | `--timeout_seconds` | integer | `0` | Elapsed time limit in seconds; `0` disables timeout |\n\n### Forest Plot Commands\n\nThese arguments apply to both `forest-plot` and `multi-forest-plot`.\n\n| Short | Long | Type | Default | Description |\n|-------|------|------|---------|-------------|\n| `-d` | `--data_file` | character | **required** | Cox result table in `.xlsx`, `.xls`, or `.csv` format |\n| `-p` | `--plot_save` | character | **required** | Output PDF path |\n| `-w` | `--width` | double | `8` | Plot width in inches |\n| `-H` | `--height` | double | `6` | Plot height in inches |\n| `-F` | `--font_size` | double | `11` | Font size for forest-plot labels |\n| `-s` | `--seed` | integer | `42` | Random seed for reproducibility |\n| `-T` | `--timeout_seconds` | integer | `0` | Elapsed time limit in seconds; `0` disables timeout |\n\n---\n\n## Input Format\n\n### Clinical Data (`--data_file` for `analyze`)\n\nCSV file with sample IDs as row names and one column per feature\u002Fend-point variable.\n\n```csv\n\",age,gender,stage,futime,fustat,risk\nSAMPLE_001,65,Male,StageIII,365,1,high\nSAMPLE_002,52,Female,StageII,730,0,low\nSAMPLE_003,78,Male,StageIV,180,1,high\n```\n\n**Requirements**\n- The file must be CSV.\n- Sample IDs must be stored in the first column as row names.\n- `time_col` must contain finite numeric values greater than `0`.\n- `event_col` must contain only `0` and `1`.\n- All requested `features`, `time_col`, and `event_col` must exist.\n- At least 10 complete samples and at least 2 events are required after filtering incomplete rows.\n\n### Cox Result Table (`--data_file` for plot commands)\n\nThe plotting commands read the output table created by `analyze`.\n\nRequired columns:\n- `Characteristics`\n- `Total(N)`\n- `HR (95% CI)`\n- `P value`\n\n---\n\n## Output Files\n\n### Analyze Command\n\n| File | Description |\n|------|-------------|\n| `table\u002Fprognosis_uni_cox_results.xlsx` | Univariate Cox result table. Present unless `--skip_univariate true` |\n| `table\u002Fprognosis_multi_cox_results.xlsx` | Multivariable Cox result table |\n| `data\u002Fanalysis_data.rds` | Serialized complete-case dataset used for Cox fitting |\n| `session_info.txt` | Session info and recorded run parameters |\n\n### Plot Commands\n\n| File | Description |\n|------|-------------|\n| `plot\u002Funi_forest_plot.pdf` | PDF forest plot generated by `forest-plot` |\n| `plot\u002Fmulti_forest_plot.pdf` | PDF forest plot generated by `multi-forest-plot` |\n| `plot\u002Fsession_info.txt` | Session info and plotting parameters written beside the PDF |\n\n### Result Table Columns\n\n| Column | Description |\n|--------|-------------|\n| `Characteristics` | Variable name for continuous terms, or level label for categorical terms |\n| `Total(N)` | Number of complete-case samples used for modeling |\n| `HR (95% CI)` | Hazard ratio with 95% confidence interval |\n| `P value` | Wald-test p-value formatted to three decimals or `\u003C0.001` |\n| `feature` | Source feature corresponding to each row |\n\n---\n\n## Workflow\n\n### Step 1: Validate and Prepare Data\n- Read the clinical CSV.\n- Check required columns and data types.\n- Convert character predictors to factors.\n- Remove rows with missing values across requested model variables.\n\n### Step 2: Run Univariate Cox Models\n- Fit one Cox model per feature when `--skip_univariate false`.\n- Export hazard ratios, confidence intervals, and p-values.\n\n### Step 3: Run Multivariable Cox Model\n- Use all significant univariate features with `p \u003C 0.05`.\n- If fewer than 3 significant features are found, fall back to all requested features.\n- Export adjusted hazard ratios, confidence intervals, and p-values.\n\n### Step 4: Generate Forest Plots\n- Read the result table.\n- Parse `HR (95% CI)` values.\n- Render a one-page PDF forest plot.\n\n---\n\n## Examples\n\n### Basic Analysis\n\n```bash\nRscript scripts\u002Fmain.R analyze \\\n  -d tests\u002Fdata\u002Fsample_clinical_survival_data.csv \\\n  -o tests\u002Fexpected_output\u002F \\\n  --overwrite\n```\n\n### Analysis With Selected Features and Overwrite\n\n```bash\nRscript scripts\u002Fmain.R analyze \\\n  -d clinical_data.csv \\\n  -f age,gender,stage,risk \\\n  -o .\u002Fresults\u002F \\\n  --overwrite \\\n  -T 600\n```\n\n### Direct Multivariable Fit Without Univariate Screening\n\n```bash\nRscript scripts\u002Fmain.R analyze \\\n  -d clinical_data.csv \\\n  -f age,stage,risk \\\n  -u true \\\n  -o .\u002Fresults\u002F\n```\n\n### Plot Generation\n\n```bash\nRscript scripts\u002Fmain.R forest-plot \\\n  -d .\u002Fresults\u002Ftable\u002Fprognosis_uni_cox_results.xlsx \\\n  -p .\u002Fresults\u002Fplot\u002Funi_forest_plot.pdf \\\n  -w 10 -H 7 -F 12\n\nRscript scripts\u002Fmain.R multi-forest-plot \\\n  -d .\u002Fresults\u002Ftable\u002Fprognosis_multi_cox_results.xlsx \\\n  -p .\u002Fresults\u002Fplot\u002Fmulti_forest_plot.pdf \\\n  -w 10 -H 7 -F 12\n```\n\n---\n\n## Error Handling\n\n| Error | Cause | Solution |\n|-------|-------|----------|\n| `SKILL_INVALID_PARAMETER` | Missing required CLI value, invalid extension, unknown command, unreadable CSV input, invalid clinical values, too few complete samples\u002Fevents, or Cox model fitting failure caused by unsupported input data | Check argument names, file types, clinical value constraints, and model input suitability |\n| `SKILL_FILE_NOT_FOUND` | Input file path does not exist | Verify the input path |\n| `SKILL_MISSING_COLUMNS` | Required columns are absent from the clinical file or plot table | Check column names and spelling |\n| `SKILL_EMPTY_DATA` | Input file or plot table contains no usable rows | Verify file content and export process |\n| `SKILL_PACKAGE_NOT_FOUND` | Required R package is missing | Install the listed CRAN package(s) |\n\n**IF error persists**, READ: `references\u002Ftroubleshooting.md`\n\n---\n\n## Testing\n\n### Smoke Test With Included Data\n\n```bash\nRscript scripts\u002Fmain.R --help\n\nRscript scripts\u002Fmain.R analyze \\\n  -d tests\u002Fdata\u002Fsample_clinical_survival_data.csv \\\n  -o tests\u002Fexpected_output\u002F \\\n  --overwrite\n\nRscript scripts\u002Fmain.R forest-plot \\\n  -d tests\u002Fexpected_output\u002Ftable\u002Fprognosis_uni_cox_results.xlsx \\\n  -p tests\u002Fexpected_output\u002Fplot\u002Funi_forest_plot.pdf\n\nRscript scripts\u002Fmain.R multi-forest-plot \\\n  -d tests\u002Fexpected_output\u002Ftable\u002Fprognosis_multi_cox_results.xlsx \\\n  -p tests\u002Fexpected_output\u002Fplot\u002Fmulti_forest_plot.pdf\n```\n\n### Automated Smoke Test Script\n\n```bash\nRscript tests\u002Frun_smoke_test.R\n```\n\nOptional shell wrapper:\n\n```bash\nbash tests\u002Frun_smoke_test.sh\n```\n\n### Expected Outputs\n\n```text\ntests\u002Fexpected_output\u002F\n|-- data\u002Fanalysis_data.rds\n|-- plot\u002Fmulti_forest_plot.pdf\n|-- plot\u002Fsession_info.txt\n|-- plot\u002Funi_forest_plot.pdf\n|-- session_info.txt\n|-- table\u002Fprognosis_multi_cox_results.xlsx\n`-- table\u002Fprognosis_uni_cox_results.xlsx\n```\n\n---\n\n## References\n\n1. Cox DR (1972). Regression Models and Life-Tables. *Journal of the Royal Statistical Society: Series B*.\n2. Therneau TM, Grambsch PM (2000). *Modeling Survival Data: Extending the Cox Model*.\n3. Harrell FE (2015). *Regression Modeling Strategies*.\n\n**For detailed algorithm**, READ: `references\u002Falgorithm.md`\n\n---\n\n## Implementation Checklist\n\n- [x] CLI parsing with `optparse`\n- [x] `set.seed()` for reproducibility\n- [x] `requireNamespace()` dependency checks\n- [x] Session info recording\n- [x] Timeout parameter exposed as CLI option\n- [x] File reading instructions in `SKILL.md`\n- [x] Modular script structure in `scripts\u002F`\n- [x] Test data provided in `tests\u002Fdata\u002F`\n- [x] Error handling with `SKILL_*` codes\n- [x] References documented in `references\u002F`\n\n---\n\n*Last updated: 2026-04-16 | Version: 1.1.0*\n",{"name":5,"description":7},"main","e0956dc9606356ab78468936b502e55a365282e2","specialists\u002Freal-world-evidence-epidemiologist\u002Fversions\u002F1.0.0\u002Fpackage\u002Fskills\u002Funivariate-multivariable-cox-regression",0,"https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists","https:\u002F\u002Fgithub.com\u002Fmrsonord2240","2026-10-12 03:19:04",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add mrsonord2240\u002Fopenscience-specialists --skill univariate-multivariable-cox-regression",{"tool":37,"command":38},"bunx","bunx skills add mrsonord2240\u002Fopenscience-specialists --skill univariate-multivariable-cox-regression",{"tool":40,"command":41},"pnpm","pnpm dlx skills add mrsonord2240\u002Fopenscience-specialists --skill univariate-multivariable-cox-regression","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialists\u002Freal-world-evidence-epidemiologist\u002Fversions\u002F1.0.0\u002Fpackage\u002Fskills\u002Funivariate-multivariable-cox-regression\u002FSKILL.md",true,[45,51,55,59,65,69,73,77,81,85,89,93,97,103,109,113,117,121,125,129],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"references\u002Falgorithm.md","REFERENCE","参考文档",3761,"https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialists\u002Freal-world-evidence-epidemiologist\u002Fversions\u002F1.0.0\u002Fpackage\u002Fskills\u002Funivariate-multivariable-cox-regression\u002Freferences\u002Falgorithm.md",{"path":52,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fcli-guide.md",3239,"https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialists\u002Freal-world-evidence-epidemiologist\u002Fversions\u002F1.0.0\u002Fpackage\u002Fskills\u002Funivariate-multivariable-cox-regression\u002Freferences\u002Fcli-guide.md",{"path":56,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Ftroubleshooting.md",4763,"https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialists\u002Freal-world-evidence-epidemiologist\u002Fversions\u002F1.0.0\u002Fpackage\u002Fskills\u002Funivariate-multivariable-cox-regression\u002Freferences\u002Ftroubleshooting.md",{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},"scripts\u002Fcli.R","SCRIPT","脚本",3661,"https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialists\u002Freal-world-evidence-epidemiologist\u002Fversions\u002F1.0.0\u002Fpackage\u002Fskills\u002Funivariate-multivariable-cox-regression\u002Fscripts\u002Fcli.R",{"path":66,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":67,"sourceHtmlUrl":68},"scripts\u002Fcox_helpers.R",2324,"https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialists\u002Freal-world-evidence-epidemiologist\u002Fversions\u002F1.0.0\u002Fpackage\u002Fskills\u002Funivariate-multivariable-cox-regression\u002Fscripts\u002Fcox_helpers.R",{"path":70,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":71,"sourceHtmlUrl":72},"scripts\u002Ffunctions.R",4370,"https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialists\u002Freal-world-evidence-epidemiologist\u002Fversions\u002F1.0.0\u002Fpackage\u002Fskills\u002Funivariate-multivariable-cox-regression\u002Fscripts\u002Ffunctions.R",{"path":74,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":75,"sourceHtmlUrl":76},"scripts\u002Fio.R",484,"https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialists\u002Freal-world-evidence-epidemiologist\u002Fversions\u002F1.0.0\u002Fpackage\u002Fskills\u002Funivariate-multivariable-cox-regression\u002Fscripts\u002Fio.R",{"path":78,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":79,"sourceHtmlUrl":80},"scripts\u002Fmain.R",2835,"https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialists\u002Freal-world-evidence-epidemiologist\u002Fversions\u002F1.0.0\u002Fpackage\u002Fskills\u002Funivariate-multivariable-cox-regression\u002Fscripts\u002Fmain.R",{"path":82,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":83,"sourceHtmlUrl":84},"scripts\u002Fplotting.R",2809,"https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialists\u002Freal-world-evidence-epidemiologist\u002Fversions\u002F1.0.0\u002Fpackage\u002Fskills\u002Funivariate-multivariable-cox-regression\u002Fscripts\u002Fplotting.R",{"path":86,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":87,"sourceHtmlUrl":88},"scripts\u002Frun_analysis.R",3203,"https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialists\u002Freal-world-evidence-epidemiologist\u002Fversions\u002F1.0.0\u002Fpackage\u002Fskills\u002Funivariate-multivariable-cox-regression\u002Fscripts\u002Frun_analysis.R",{"path":90,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":91,"sourceHtmlUrl":92},"scripts\u002Futils.R",2605,"https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialists\u002Freal-world-evidence-epidemiologist\u002Fversions\u002F1.0.0\u002Fpackage\u002Fskills\u002Funivariate-multivariable-cox-regression\u002Fscripts\u002Futils.R",{"path":94,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":95,"sourceHtmlUrl":96},"scripts\u002Fvalidation.R",1939,"https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialists\u002Freal-world-evidence-epidemiologist\u002Fversions\u002F1.0.0\u002Fpackage\u002Fskills\u002Funivariate-multivariable-cox-regression\u002Fscripts\u002Fvalidation.R",{"path":98,"resourceType":99,"resourceTypeDesc":100,"sizeBytes":101,"sourceHtmlUrl":102},"tests\u002Fdata\u002Fsample_clinical_survival_data.csv","ASSET","资产文件",43139,"https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialists\u002Freal-world-evidence-epidemiologist\u002Fversions\u002F1.0.0\u002Fpackage\u002Fskills\u002Funivariate-multivariable-cox-regression\u002Ftests\u002Fdata\u002Fsample_clinical_survival_data.csv",{"path":104,"resourceType":105,"resourceTypeDesc":106,"sizeBytes":107,"sourceHtmlUrl":108},"tests\u002Fexpected_output\u002Fdata\u002Fanalysis_data.rds","OTHER","其他",4533,"https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialists\u002Freal-world-evidence-epidemiologist\u002Fversions\u002F1.0.0\u002Fpackage\u002Fskills\u002Funivariate-multivariable-cox-regression\u002Ftests\u002Fexpected_output\u002Fdata\u002Fanalysis_data.rds",{"path":110,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":111,"sourceHtmlUrl":112},"tests\u002Fexpected_output\u002Fplot\u002Fsession_info.txt",1593,"https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialists\u002Freal-world-evidence-epidemiologist\u002Fversions\u002F1.0.0\u002Fpackage\u002Fskills\u002Funivariate-multivariable-cox-regression\u002Ftests\u002Fexpected_output\u002Fplot\u002Fsession_info.txt",{"path":114,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":115,"sourceHtmlUrl":116},"tests\u002Fexpected_output\u002Fsession_info.txt",1539,"https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialists\u002Freal-world-evidence-epidemiologist\u002Fversions\u002F1.0.0\u002Fpackage\u002Fskills\u002Funivariate-multivariable-cox-regression\u002Ftests\u002Fexpected_output\u002Fsession_info.txt",{"path":118,"resourceType":99,"resourceTypeDesc":100,"sizeBytes":119,"sourceHtmlUrl":120},"tests\u002Fexpected_output\u002Ftable\u002Fprognosis_multi_cox_results.xlsx",6690,"https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialists\u002Freal-world-evidence-epidemiologist\u002Fversions\u002F1.0.0\u002Fpackage\u002Fskills\u002Funivariate-multivariable-cox-regression\u002Ftests\u002Fexpected_output\u002Ftable\u002Fprognosis_multi_cox_results.xlsx",{"path":122,"resourceType":99,"resourceTypeDesc":100,"sizeBytes":123,"sourceHtmlUrl":124},"tests\u002Fexpected_output\u002Ftable\u002Fprognosis_uni_cox_results.xlsx",6956,"https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialists\u002Freal-world-evidence-epidemiologist\u002Fversions\u002F1.0.0\u002Fpackage\u002Fskills\u002Funivariate-multivariable-cox-regression\u002Ftests\u002Fexpected_output\u002Ftable\u002Fprognosis_uni_cox_results.xlsx",{"path":126,"resourceType":105,"resourceTypeDesc":106,"sizeBytes":127,"sourceHtmlUrl":128},"tests\u002Frun_smoke_test.R",2486,"https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialists\u002Freal-world-evidence-epidemiologist\u002Fversions\u002F1.0.0\u002Fpackage\u002Fskills\u002Funivariate-multivariable-cox-regression\u002Ftests\u002Frun_smoke_test.R",{"path":130,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":131,"sourceHtmlUrl":132},"tests\u002Frun_smoke_test.sh",127,"https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialists\u002Freal-world-evidence-epidemiologist\u002Fversions\u002F1.0.0\u002Fpackage\u002Fskills\u002Funivariate-multivariable-cox-regression\u002Ftests\u002Frun_smoke_test.sh",[134,141,148,155,162,169],{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":19},"01M7CW36A6QAGWFE2C008M1XPG","bio-workflows-metabolomics-pipeline","Orchestrates the untargeted LC-MS metabolomics pipeline end-to-end (xcms 4.x feature extraction, QC\u002Fdrift\u002Fnormalization, confidence-stratified annotation, permutation-validated statistics, background-aware pathway mapping), naming what each stage decides and where it silently fails. Use when running a full LC-MS metabolomics study from raw mzML to enriched pathways and needing the honest handoffs between stages. Each stage defers to its component skill for parameters and traps; for stable-isotope flux (a separate branch, not this untargeted flow) see metabolomics\u002Fisotope-tracing.","https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialists\u002Funtargeted-metabolomics-analyst\u002Fversions\u002F1.0.0\u002Fpackage\u002Fskills\u002Fbio-workflows-metabolomics-pipeline\u002FSKILL.md",[],[],{"skillNo":142,"name":143,"nameZh":6,"description":144,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":145,"categories":146,"keywords":147,"publishedAt":19},"01M7CW2Y18623NA2S1Y30FRQW1","bio-metabolomics-xcms-preprocessing","Programmatic untargeted LC-MS feature extraction in R with the modern xcms 4.x MsExperiment\u002FXcmsExperiment API, taking raw mzML to a feature table via CentWave peak detection, retention-time alignment, peak-density correspondence, gap-filling, CAMERA redundancy collapse, and built-in QC feature filtering. Use when converting centroided LC-MS runs into a features-by-samples matrix and deciding centWave\u002Fgrouping\u002Falignment parameters. For drift correction and QC\u002FCV filtering execution see metabolomics\u002Fnormalization-qc; for metabolite identification see metabolomics\u002Fmetabolite-annotation; for the MS-DIAL GUI alternative with MS2Dec deconvolution see metabolomics\u002Fmsdial-preprocessing; for downstream statistics see metabolomics\u002Fstatistical-analysis.","https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialists\u002Funtargeted-metabolomics-analyst\u002Fversions\u002F1.0.0\u002Fpackage\u002Fskills\u002Fbio-metabolomics-xcms-preprocessing\u002FSKILL.md",[],[],{"skillNo":149,"name":150,"nameZh":6,"description":151,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":152,"categories":153,"keywords":154,"publishedAt":19},"01M7CW2M364HVWPNQEKE2WP4PP","bio-metabolomics-statistical-analysis","Decision-grade statistical analysis for metabolomics intensity tables. Covers transformation and scaling (Pareto vs unit-variance as a hidden hypothesis), unsupervised structure (PCA\u002FHCA for QC), permutation-validated PLS-DA\u002FOPLS-DA (R2 vs Q2, double CV, VIP as heuristic), univariate testing (Welch\u002FMann-Whitney\u002FANOVA\u002FLMM with covariate adjustment), and dependence-aware multiple testing. Use when testing which metabolites differ, building or validating a discriminant model, choosing a scaling, or correcting many correlated tests. For sample-wise normalization\u002Fdrift correction see metabolomics\u002Fnormalization-qc; for ML classifiers and selection-inside-CV leakage see machine-learning\u002Fbiomarker-discovery and machine-learning\u002Fmodel-validation; for pathway interpretation see metabolomics\u002Fpathway-mapping; for design\u002Fpower\u002Fmultiplicity regime see experimental-design\u002Fmultiple-testing.","https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialists\u002Funtargeted-metabolomics-analyst\u002Fversions\u002F1.0.0\u002Fpackage\u002Fskills\u002Fbio-metabolomics-statistical-analysis\u002FSKILL.md",[],[],{"skillNo":156,"name":157,"nameZh":6,"description":158,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":159,"categories":160,"keywords":161,"publishedAt":19},"01M7CW2BCBF851WYE03Z8XPEDQ","bio-metabolomics-pathway-mapping","Maps metabolomics results to biological pathways via over-representation (ORA), metabolite-set enrichment (MSEA\u002FQEA), mummichog\u002FPSEA on raw m\u002Fz peaks, and network-diffusion enrichment (FELLA), with correct background-set construction and honest interpretive ceilings. Use when interpreting differential metabolites or an untargeted LC-MS feature table in pathway context, choosing ORA vs MSEA vs mummichog vs topology, or setting the reference\u002Fbackground set. For annotation confidence levels feeding ORA see metabolomics\u002Fmetabolite-annotation; for gene-set concepts see pathway-analysis\u002Fgo-enrichment and pathway-analysis\u002Fgsea; for joint gene+metabolite pathways see multi-omics-integration\u002Fmofa-integration.","https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialists\u002Funtargeted-metabolomics-analyst\u002Fversions\u002F1.0.0\u002Fpackage\u002Fskills\u002Fbio-metabolomics-pathway-mapping\u002FSKILL.md",[],[],{"skillNo":163,"name":164,"nameZh":6,"description":165,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":166,"categories":167,"keywords":168,"publishedAt":19},"01M7CW21NSZMCPMF7D9CHJM718","bio-metabolomics-normalization-qc","Designs QC, corrects signal drift, removes batch effects, filters features, normalizes samples, and imputes missing values for untargeted LC-MS\u002FGC-MS metabolomics, framing each step as a measurement model that can create or erase biological signal. Use when processing a peak\u002Ffeature table before statistical analysis, choosing a drift-correction or sample-normalization method, deciding QC RSD vs D-ratio filtering, or handling left-censored missing values. The feature table is produced by metabolomics\u002Fxcms-preprocessing or metabolomics\u002Fmsdial-preprocessing; transformation\u002Fscaling for modeling defers to metabolomics\u002Fstatistical-analysis; cross-study design issues link to experimental-design\u002Fbatch-design.","https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialists\u002Funtargeted-metabolomics-analyst\u002Fversions\u002F1.0.0\u002Fpackage\u002Fskills\u002Fbio-metabolomics-normalization-qc\u002FSKILL.md",[],[],{"skillNo":170,"name":171,"nameZh":6,"description":172,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":173,"categories":174,"keywords":175,"publishedAt":19},"01M7CW1SWVM0NYHVE6Q7MA3G7R","bio-metabolomics-msdial-preprocessing","Runs the MS-DIAL preprocessing workflow (peak picking, MS2Dec spectral deconvolution, alignment, gap-filling) and imports the alignment-result table into R or Python with honest filtering. Use when preprocessing LC-MS DDA\u002FDIA (SWATH) or GC-MS raw data with MS-DIAL, deciding MS-DIAL vs XCMS, configuring the MSDIALCUI console run, or parsing an MS-DIAL export into a clean feature matrix. For programmatic R peak detection and the feature-table-as-artifact framing see metabolomics\u002Fxcms-preprocessing; for lipid annotation mode see metabolomics\u002Flipidomics; for MSI-level confidence honesty see metabolomics\u002Fmetabolite-annotation; for drift correction and QC see metabolomics\u002Fnormalization-qc.","https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialists\u002Funtargeted-metabolomics-analyst\u002Fversions\u002F1.0.0\u002Fpackage\u002Fskills\u002Fbio-metabolomics-msdial-preprocessing\u002FSKILL.md",[],[]]