[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EEEG88DP6E5SP663G3EBE3":3,"skill-same:01M7EEEG88DP6E5SP663G3EBE3":62},{"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":30,"commitSha":31,"skillDirectory":32,"forksCount":14,"repositoryHtmlUrl":33,"repositoryHomepageUrl":33,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":35,"install":36,"resources":49},"01M7EEEG88DP6E5SP663G3EBE3","bio-methylation-epigenetic-clocks",null,"Computes DNA methylation age (DNAm age) and pace of aging by applying frozen elastic-net epigenetic clocks to a clean beta matrix with methylclock, dnaMethyAge, or methylCIPHER. Covers the clock menu by question (chronological Horvath\u002FHannum\u002Fskin&blood; health-mortality PhenoAge\u002FGrimAge; DunedinPACE pace; pediatric\u002Fgestational; mitotic epiTOC), age acceleration (EAA\u002FIEAA\u002FEEAA) as the real endpoint, the principal-component (PC) clock fix for the per-CpG reliability crisis, and EPICv2 clock-CpG dropout with missing-CpG imputation bias. Use when estimating epigenetic age, computing age acceleration, choosing a clock for an outcome, assessing clock reliability, or porting a clock to EPICv2. A clock is a frozen predictor: do not GO-enrich its CpGs and do not train it here. For cell-count adjustment (IEAA) see cell-type-deconvolution; for predictor training\u002Fvalidation\u002Fleakage see machine-learning\u002Fmodel-validation; for survival modeling of age acceleration see clinical-biostatistics\u002Fsurvival-analysis.","Mr-Nobody-Anonymous\u002FAll-skills","Mr-Nobody-Anonymous","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F184253119?v=4","01M7AEXFJHKTYQW5R0ZCQQTWFV","anonymous","01M7C00M3GQR4QKP9GZA42GFAK",0,"MIT","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-methylation-epigenetic-clocks\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: bio-methylation-epigenetic-clocks\ndescription: >-\n  Computes DNA methylation age (DNAm age) and pace of aging by applying frozen elastic-net epigenetic clocks to a clean beta matrix with methylclock, dnaMethyAge, or methylCIPHER. Covers the clock menu by question (chronological Horvath\u002FHannum\u002Fskin&blood; health-mortality PhenoAge\u002FGrimAge; DunedinPACE pace; pediatric\u002Fgestational; mitotic epiTOC), age acceleration (EAA\u002FIEAA\u002FEEAA) as the real endpoint, the principal-component (PC) clock fix for the per-CpG reliability crisis, and EPICv2 clock-CpG dropout with missing-CpG imputation bias. Use when estimating epigenetic age, computing age acceleration, choosing a clock for an outcome, assessing clock reliability, or porting a clock to EPICv2. A clock is a frozen predictor: do not GO-enrich its CpGs and do not train it here. For cell-count adjustment (IEAA) see cell-type-deconvolution; for predictor training\u002Fvalidation\u002Fleakage see machine-learning\u002Fmodel-validation; for survival modeling of age acceleration see clinical-biostatistics\u002Fsurvival-analysis.\ntool_type: r\nprimary_tool: methylclock\nsource: \"https:\u002F\u002Fgithub.com\u002FGPTomics\u002FbioSkills\"\nsource_repository: \"GPTomics\u002FbioSkills\"\nsource_path: \"methylation-analysis\u002Fepigenetic-clocks\u002FSKILL.md\"\nlicense: \"MIT\"\nimported_at: \"2026-09-20\"\n---\n## Version Compatibility\n\nReference examples tested with: methylclock 1.8+, dnaMethyAge (GitHub yiluyucheng), methylCIPHER (GitHub MorganLevineLab), DunedinPACE (GitHub danbelsky).\n\nBefore using code patterns, verify installed versions match. If versions differ:\n- R: `packageVersion('\u003Cpkg>')` then `?function_name` to verify parameters\n\nIf code throws ImportError, AttributeError, or TypeError, introspect the installed\npackage and adapt the example to match the actual API rather than retrying.\n\nThe clock coefficient sets are FIXED and version-pinned (a clock is a frozen list of CpGs and weights), so the package version mostly controls which clocks ship and what the clock-name strings are. Verify accepted names live: `methylclock` via `checkClocks(beta)`; `dnaMethyAge` via `availableClock()`. The ARRAY PLATFORM is the version that matters most: EPICv2 drops a clock-specific fraction of CpGs, so always report how many of each clock's CpGs were actually present.\n\n# Epigenetic Clocks\n\n**\"How old is this sample epigenetically?\"** -> Apply a frozen elastic-net clock to the beta matrix, then report the age ACCELERATION (residual vs chronological age), not the raw age - because a clock is a predictor, and the residual is the signal.\n- R: `DNAmAge(beta, clocks = c('Horvath', 'Hannum', 'Levine'), age = pheno$age)`\n\nScope: applying pre-trained clocks (DNAm age, pace, mitotic) and computing age acceleration from a clean beta\u002FM-value matrix. Cell-count adjustment for IEAA -> cell-type-deconvolution. Clean beta matrix \u002F EPICv2 replicate-probe collapse -> array preprocessing. Training a predictor \u002F cross-validation \u002F leakage -> machine-learning\u002Fmodel-validation. Survival\u002Fmortality modeling of EAA -> clinical-biostatistics\u002Fsurvival-analysis. Per-CpG and region testing -> differential-cpg-testing, dmr-detection.\n\n## The Single Most Important Modern Insight -- A Clock Is a Predictor, Not a Mechanism, and Not Even a Reliable One Per-CpG\n\nDNAm age is a frozen elastic-net weighted sum over CpGs that a penalty chose for out-of-sample prediction. The CpGs are prediction features, never an aging pathway. Four corollaries every common misuse violates:\n\n1. **The CpG set is not biology.** Do not GO-enrich clock CpGs. Two clocks for the same outcome can share almost zero CpGs (the elastic net arbitrarily keeps one of many correlated predictors), so non-overlap is expected, not a contradiction.\n2. **The endpoint is age ACCELERATION, not the raw age.** Raw DNAm age just recapitulates chronological age (r often > 0.9). The signal is the residual of DNAm age on chronological age (EAA); IEAA additionally residualizes on cell counts - which is exactly where deconvolution meets this skill.\n3. **First-gen per-CpG reliability can be smaller than the effect being chased.** Many first-gen clock CpGs have low test-retest ICC (Sugden 2020 *Patterns* 1:100014), so the same sample can age several years between technical replicates. PC clocks (Higgins-Chen 2022 *Nat Aging* 2:644) exist specifically to fix this for longitudinal and trial use.\n4. **Association is not causation is not transfer.** EAA associating with an exposure does not make the clock causal; a blood clock does not automatically work in another tissue or ancestry without a recalibration check.\n\nOrganize the analysis around defending these four, not around listing clock names.\n\n## The Clock Menu by Question\n\nThe question dictates the clock; there is no single best clock. Pick by what is being predicted, not by popularity.\n\n| Generation | Clock | Citation | Predicts | Tissue | Note |\n|------------|-------|----------|----------|--------|------|\n| 1st (chronological) | Horvath multi-tissue | Horvath 2013 *Genome Biol* 14:R115 | chronological age | 51 tissues | 353 CpGs; works cross-tissue; log-linear age transform for \u003C20y |\n| 1st | Hannum | Hannum 2013 *Mol Cell* 49:359 | chronological age | whole blood | 71 CpGs; tight in blood, poor cross-tissue |\n| 1st | skin & blood | Horvath 2018 *Aging* 10:1758 | chronological age | skin, blood, fibroblasts | 391 CpGs; for in-vitro\u002Ffibroblast\u002Fskin work |\n| 2nd (health-mortality) | PhenoAge | Levine 2018 *Aging* 10:573 | morbidity\u002Fmortality composite | blood | 513 CpGs; trained on a 9-biomarker phenotypic age |\n| 2nd | GrimAge | Lu 2019 *Aging* 11:303 | lifespan\u002Fhealthspan | blood | composite of DNAm protein surrogates; strongest mortality predictor |\n| pace | DunedinPACE | Belsky 2022 *eLife* 11:e73420 | RATE of aging | blood | 173 CpGs; ~1.0 = one biological year per calendar year; NOT an age |\n| pediatric | PedBE | McEwen 2020 *PNAS* 117:23329 | age 0-20 | buccal | buccal-specific |\n| gestational | Knight \u002F Bohlin | Knight 2016 *Genome Biol* 17:206 \u002F Bohlin 2016 *Genome Biol* 17:207 | gestational age | cord blood | newborn GA estimation |\n| mitotic | epiTOC | Yang 2016 *Genome Biol* 17:205 | cumulative stem-cell divisions | normal tissue | tracks mitotic, not chronological, age; cancer-risk relevant |\n\nDunedinPACE is reported as the raw PACE value (already a rate); never residualize it like an age clock and never compare its number to Horvath years.\n\n## Decision Tree by Scenario\n\n| Scenario | Recommended | Why |\n|----------|-------------|-----|\n| Chronological-age accuracy in blood | Hannum or Horvath | trained on chronological age; Hannum tighter in blood |\n| Cross-tissue or non-blood sample | Horvath multi-tissue or skin&blood | only the multi-tissue clocks transfer; report a known-age check |\n| Morbidity \u002F mortality \u002F healthspan endpoint | GrimAge (or PhenoAge) | second-gen; trained on health outcomes, not just age |\n| Pace of aging \u002F intervention sensitivity | DunedinPACE | a rate; sensitive to caloric-restriction-style trials |\n| Longitudinal or clinical-trial endpoint | PC clocks (methylCIPHER) | first-gen test-retest noise can exceed the intervention effect |\n| Pediatric buccal \u002F newborn cord blood | PedBE \u002F Knight or Bohlin | age-and-tissue-matched clocks |\n| Cancer \u002F mitotic-age question | epiTOC \u002F epiTOC2 | estimates cell divisions, a different aging axis |\n| EPICv2 data | clock that retains its CpGs (Horvath\u002FPhenoAge) | GrimAge\u002FHannum\u002FDunedinPACE lose >10% of CpGs on EPICv2 |\n| Adjust EAA for cell composition (IEAA) | -> cell-type-deconvolution | residualize the clock on estimated cell counts |\n| Train or validate a new predictor | -> machine-learning\u002Fmodel-validation | clocks here APPLY frozen models; they are not trained here |\n| Survival\u002Fmortality model of EAA | -> clinical-biostatistics\u002Fsurvival-analysis | EAA-to-outcome modeling lives there |\n\n## Apply a Clock and Extract Age Acceleration\n\n**Goal:** Compute DNAm age for several clocks and turn the raw ages into age acceleration, the actual endpoint.\n\n**Approach:** Run `DNAmAge` with chronological age supplied so it returns acceleration columns directly; `ageAcc` is the raw DNAm-minus-chronological difference and `ageAcc2` is the residual of DNAm age on chronological age (the EAA to test). Always check clock-CpG coverage first.\n\n```r\nlibrary(methylclock)\n\ncpg_report \u003C- checkClocks(beta)        # which clock CpGs are missing BEFORE estimating\nages \u003C- DNAmAge(beta, clocks = c('Horvath', 'Hannum', 'Levine', 'skinHorvath'),\n                age = pheno$age,       # supplying age yields ageAcc and ageAcc2 columns\n                cell.count = FALSE,    # set TRUE only when adjusting toward IEAA-style estimates\n                min.perc = 0.8)        # refuse a clock missing >20% of its CpGs (default 0.8)\n# ageAcc  = DNAm age - chronological age (raw difference)\n# ageAcc2 = residual of DNAm age on chronological age = the EAA endpoint with cell.count=FALSE\n#   (methylclock labels ageAcc2 \"similar to IEAA\"; confirm the exact column semantics in the\n#    installed vignette, and the cell-count-adjusted residual when cell.count=TRUE)\n```\n\nThe `dnaMethyAge` package returns acceleration in one call and exposes author-year clock IDs:\n\n```r\nlibrary(dnaMethyAge)\navailableClock()                                  # confirm the installed clock-name strings\nphenoage \u003C- methyAge(beta, clock = 'LevineM2018',\n                     age_info = pheno,            # data.frame with Sample, Age (Sex for GrimAge variants)\n                     fit_method = 'Linear')       # adds an Age_Acceleration column\n```\n\n## Pace of Aging Is Not an Age\n\n**Goal:** Compute DunedinPACE as a rate and keep it on its own scale.\n\n**Approach:** Use the dedicated package; the output is a per-sample pace (~1.0 = normal). Do not regress it on chronological age and do not merge it with age-clock acceleration.\n\n```r\nlibrary(DunedinPACE)\npace \u003C- PACEProjector(beta)   # returns the DunedinPACE pace values (~1.0 = normal, >1 = faster aging); report as-is\n# Never residualize PACE on chronological age and never compare its value to Horvath years.\n```\n\n## Reliability and PC Clocks\n\nFor longitudinal, interventional, or clinical-trial endpoints, first-gen per-CpG noise (Sugden 2020) can swamp a small intervention effect. PC clocks (Higgins-Chen 2022) train the elastic net on principal components across thousands of CpGs, averaging out per-CpG noise and lifting test-retest ICC toward ~0.9. They live in methylCIPHER (MorganLevineLab), not in methylclock. Use a PC clock, or at minimum document an ICC\u002Freliability assessment, for any repeated-measures design.\n\n## Per-Method Failure Modes\n\n### GO-enriching clock CpGs\n**Trigger:** running pathway enrichment on a clock's CpG list to \"explain aging.\" **Mechanism:** the CpGs are penalty-selected prediction features, one arbitrary representative per correlated cluster. **Symptom:** a plausible-looking enrichment that is an artifact of feature selection. **Fix:** do not enrich clock CpGs; treat them as predictors only.\n\n### Reporting raw DNAm age instead of acceleration\n**Trigger:** correlating raw DNAm age with an exposure. **Mechanism:** raw age is dominated by chronological age (r > 0.9). **Symptom:** every clock \"associates\" with age-correlated variables. **Fix:** test the residual (ageAcc2 \u002F Age_Acceleration \u002F IEAA), not the raw age.\n\n### Missing clock CpGs mean-imputed\n**Trigger:** a platform or failed probes drop clock CpGs; the tool imputes to the training mean. **Mechanism:** mean-imputation pulls the prediction toward the training population age and shrinks variance. **Symptom:** age acceleration biased toward zero; attenuated associations; on EPICv2 Hannum can return NEGATIVE ages. **Fix:** report the fraction of clock CpGs present (`checkClocks`); flag\u002Frefuse samples with high missingness; prefer a clock that retains its CpGs on the platform.\n\n### EPICv2 replicate probes not collapsed\n**Trigger:** feeding a raw EPICv2 matrix with suffixed replicate probe IDs. **Mechanism:** EPICv2 carries multiple beads per CpG with suffixed names, so the clock cannot find its CpGs. **Symptom:** huge apparent CpG dropout, nonsensical ages. **Fix:** collapse replicate probes to one value per CpG upstream before any clock call.\n\n### First-gen clock used for a longitudinal endpoint\n**Trigger:** detecting a small intervention effect with Horvath\u002FHannum across timepoints. **Mechanism:** per-CpG test-retest noise (Sugden 2020) rivals the effect. **Symptom:** unstable EAA between replicates; the effect is inside the noise band. **Fix:** PC clocks (methylCIPHER) or a documented reliability assessment.\n\n### Cross-tissue or cross-ancestry application\n**Trigger:** a blood-trained clock (Hannum) on saliva, or a European-cohort clock applied elsewhere. **Mechanism:** clocks do not automatically transfer. **Symptom:** a systematic age offset vs known age. **Fix:** use a tissue-appropriate clock (skin&blood, PedBE, gestational) and report a known-age calibration check.\n\n## Quantitative Thresholds\n\n| Threshold | Source | Rationale |\n|-----------|--------|-----------|\n| Report fraction of clock CpGs present | Higgins-Chen 2022 *Nat Aging* 2:644 | high imputed fraction invalidates the estimate |\n| `min.perc` >= 0.8 of clock CpGs | methylclock docs | below ~80% coverage mean-imputation dominates the prediction |\n| EPICv2 dropout 3.5-32.6% per clock; GrimAge\u002FHannum\u002FDunedinPACE > 10% | EPICv2 clock benchmarks | platform-specific; pick a CpG-retaining clock on EPICv2 |\n| First-gen clock CpG ICC often \u003C 0.5 | Sugden 2020 *Patterns* 1:100014 | technical noise rivals signal; use PC clocks for repeated measures |\n| PC clock ICC ~0.9+ | Higgins-Chen 2022 *Nat Aging* 2:644 | the reliability bar for longitudinal\u002Ftrial designs |\n| EAA = residual of DNAm age on chronological age | Horvath 2013 *Genome Biol* 14:R115 | the endpoint; raw age is uninformative (r > 0.9 with chronological age) |\n| Horvath age transform applied for age \u003C 20 | Horvath 2013 *Genome Biol* 14:R115 | the clock is log-linear below 20y; do not compare pre\u002Fpost-transform values |\n\n## Common Errors\n\n| Error \u002F symptom | Cause | Solution |\n|-----------------|-------|----------|\n| Every clock correlates with an age-linked variable | testing raw DNAm age | test age acceleration (residual), not raw age |\n| Hannum returns negative ages | EPICv2 clock-CpG dropout | use a CpG-retaining clock; report coverage; collapse replicate probes |\n| Age acceleration shrunk toward zero | clock CpGs mean-imputed | report `checkClocks` coverage; refuse high-missingness samples |\n| Many clock CpGs \"missing\" on EPICv2 | replicate probes not collapsed | collapse suffixed probes to one value per CpG upstream |\n| DunedinPACE compared to Horvath years | mixing a rate with an age | keep PACE on its own scale; never residualize it |\n| Unstable EAA across replicates | first-gen per-CpG noise | PC clocks (methylCIPHER) or a reliability assessment |\n| `methyAge` clock name not found | wrong clock-ID string | `availableClock()` for installed author-year IDs |\n\n## References\n\n- Horvath S. 2013. DNA methylation age of human tissues and cell types. *Genome Biol* 14:R115.\n- Hannum G, Guinney J, Zhao L, et al. 2013. Genome-wide methylation profiles reveal quantitative views of human aging rates. *Mol Cell* 49:359-367.\n- Horvath S, Oshima J, Martin GM, et al. 2018. Epigenetic clock for skin and blood cells applied to Hutchinson Gilford Progeria Syndrome and ex vivo studies. *Aging (Albany NY)* 10:1758-1775.\n- Levine ME, Lu AT, Quach A, et al. 2018. An epigenetic biomarker of aging for lifespan and healthspan. *Aging (Albany NY)* 10:573-591.\n- Lu AT, Quach A, Wilson JG, et al. 2019. DNA methylation GrimAge strongly predicts lifespan and healthspan. *Aging (Albany NY)* 11:303-327.\n- Belsky DW, Caspi A, Corcoran DL, et al. 2022. DunedinPACE, a DNA methylation biomarker of the pace of aging. *eLife* 11:e73420.\n- McEwen LM, O'Donnell KJ, McGill MG, et al. 2020. The PedBE clock accurately estimates DNA methylation age in pediatric buccal cells. *PNAS* 117:23329-23335.\n- Knight AK, Craig JM, Theda C, et al. 2016. An epigenetic clock for gestational age at birth based on blood methylation data. *Genome Biol* 17:206.\n- Bohlin J, Haberg SE, Magnus P, et al. 2016. Prediction of gestational age based on genome-wide differentially methylated regions. *Genome Biol* 17:207.\n- Yang Z, Wong A, Kuh D, et al. 2016. Correlation of an epigenetic mitotic clock with cancer risk. *Genome Biol* 17:205.\n- Sugden K, Hannon EJ, Arseneault L, et al. 2020. Patterns of reliability: assessing the reproducibility and integrity of DNA methylation measurement. *Patterns (N Y)* 1:100014.\n- Higgins-Chen AT, Thrush KL, Wang Y, et al. 2022. A computational solution for bolstering reliability of epigenetic clocks. *Nat Aging* 2:644-661.\n- Pelegi-Siso D, de Prado P, Ronkainen J, et al. 2021. methylclock: a Bioconductor package to estimate DNA methylation age. *Bioinformatics* 37:1759-1760.\n\n## Related Skills\n\n- array-preprocessing - Provides the clean beta matrix clocks consume\n- cell-type-deconvolution - IEAA: adjust age acceleration for cell composition\n- machine-learning\u002Fmodel-validation - Predictor training, cross-validation, leakage (clocks apply frozen models)\n- clinical-biostatistics\u002Fsurvival-analysis - Survival\u002Fmortality modeling of age acceleration\n- ewas-design - Age-acceleration association study design\n- workflows\u002Fmethylation-pipeline - End-to-end methylation pipeline\n","## Version Compatibility\n\nReference examples tested with: methylclock 1.8+, dnaMethyAge (GitHub yiluyucheng), methylCIPHER (GitHub MorganLevineLab), DunedinPACE (GitHub danbelsky).\n\nBefore using code patterns, verify installed versions match. If versions differ:\n- R: `packageVersion('\u003Cpkg>')` then `?function_name` to verify parameters\n\nIf code throws ImportError, AttributeError, or TypeError, introspect the installed\npackage and adapt the example to match the actual API rather than retrying.\n\nThe clock coefficient sets are FIXED and version-pinned (a clock is a frozen list of CpGs and weights), so the package version mostly controls which clocks ship and what the clock-name strings are. Verify accepted names live: `methylclock` via `checkClocks(beta)`; `dnaMethyAge` via `availableClock()`. The ARRAY PLATFORM is the version that matters most: EPICv2 drops a clock-specific fraction of CpGs, so always report how many of each clock's CpGs were actually present.\n\n# Epigenetic Clocks\n\n**\"How old is this sample epigenetically?\"** -> Apply a frozen elastic-net clock to the beta matrix, then report the age ACCELERATION (residual vs chronological age), not the raw age - because a clock is a predictor, and the residual is the signal.\n- R: `DNAmAge(beta, clocks = c('Horvath', 'Hannum', 'Levine'), age = pheno$age)`\n\nScope: applying pre-trained clocks (DNAm age, pace, mitotic) and computing age acceleration from a clean beta\u002FM-value matrix. Cell-count adjustment for IEAA -> cell-type-deconvolution. Clean beta matrix \u002F EPICv2 replicate-probe collapse -> array preprocessing. Training a predictor \u002F cross-validation \u002F leakage -> machine-learning\u002Fmodel-validation. Survival\u002Fmortality modeling of EAA -> clinical-biostatistics\u002Fsurvival-analysis. Per-CpG and region testing -> differential-cpg-testing, dmr-detection.\n\n## The Single Most Important Modern Insight -- A Clock Is a Predictor, Not a Mechanism, and Not Even a Reliable One Per-CpG\n\nDNAm age is a frozen elastic-net weighted sum over CpGs that a penalty chose for out-of-sample prediction. The CpGs are prediction features, never an aging pathway. Four corollaries every common misuse violates:\n\n1. **The CpG set is not biology.** Do not GO-enrich clock CpGs. Two clocks for the same outcome can share almost zero CpGs (the elastic net arbitrarily keeps one of many correlated predictors), so non-overlap is expected, not a contradiction.\n2. **The endpoint is age ACCELERATION, not the raw age.** Raw DNAm age just recapitulates chronological age (r often > 0.9). The signal is the residual of DNAm age on chronological age (EAA); IEAA additionally residualizes on cell counts - which is exactly where deconvolution meets this skill.\n3. **First-gen per-CpG reliability can be smaller than the effect being chased.** Many first-gen clock CpGs have low test-retest ICC (Sugden 2020 *Patterns* 1:100014), so the same sample can age several years between technical replicates. PC clocks (Higgins-Chen 2022 *Nat Aging* 2:644) exist specifically to fix this for longitudinal and trial use.\n4. **Association is not causation is not transfer.** EAA associating with an exposure does not make the clock causal; a blood clock does not automatically work in another tissue or ancestry without a recalibration check.\n\nOrganize the analysis around defending these four, not around listing clock names.\n\n## The Clock Menu by Question\n\nThe question dictates the clock; there is no single best clock. Pick by what is being predicted, not by popularity.\n\n| Generation | Clock | Citation | Predicts | Tissue | Note |\n|------------|-------|----------|----------|--------|------|\n| 1st (chronological) | Horvath multi-tissue | Horvath 2013 *Genome Biol* 14:R115 | chronological age | 51 tissues | 353 CpGs; works cross-tissue; log-linear age transform for \u003C20y |\n| 1st | Hannum | Hannum 2013 *Mol Cell* 49:359 | chronological age | whole blood | 71 CpGs; tight in blood, poor cross-tissue |\n| 1st | skin & blood | Horvath 2018 *Aging* 10:1758 | chronological age | skin, blood, fibroblasts | 391 CpGs; for in-vitro\u002Ffibroblast\u002Fskin work |\n| 2nd (health-mortality) | PhenoAge | Levine 2018 *Aging* 10:573 | morbidity\u002Fmortality composite | blood | 513 CpGs; trained on a 9-biomarker phenotypic age |\n| 2nd | GrimAge | Lu 2019 *Aging* 11:303 | lifespan\u002Fhealthspan | blood | composite of DNAm protein surrogates; strongest mortality predictor |\n| pace | DunedinPACE | Belsky 2022 *eLife* 11:e73420 | RATE of aging | blood | 173 CpGs; ~1.0 = one biological year per calendar year; NOT an age |\n| pediatric | PedBE | McEwen 2020 *PNAS* 117:23329 | age 0-20 | buccal | buccal-specific |\n| gestational | Knight \u002F Bohlin | Knight 2016 *Genome Biol* 17:206 \u002F Bohlin 2016 *Genome Biol* 17:207 | gestational age | cord blood | newborn GA estimation |\n| mitotic | epiTOC | Yang 2016 *Genome Biol* 17:205 | cumulative stem-cell divisions | normal tissue | tracks mitotic, not chronological, age; cancer-risk relevant |\n\nDunedinPACE is reported as the raw PACE value (already a rate); never residualize it like an age clock and never compare its number to Horvath years.\n\n## Decision Tree by Scenario\n\n| Scenario | Recommended | Why |\n|----------|-------------|-----|\n| Chronological-age accuracy in blood | Hannum or Horvath | trained on chronological age; Hannum tighter in blood |\n| Cross-tissue or non-blood sample | Horvath multi-tissue or skin&blood | only the multi-tissue clocks transfer; report a known-age check |\n| Morbidity \u002F mortality \u002F healthspan endpoint | GrimAge (or PhenoAge) | second-gen; trained on health outcomes, not just age |\n| Pace of aging \u002F intervention sensitivity | DunedinPACE | a rate; sensitive to caloric-restriction-style trials |\n| Longitudinal or clinical-trial endpoint | PC clocks (methylCIPHER) | first-gen test-retest noise can exceed the intervention effect |\n| Pediatric buccal \u002F newborn cord blood | PedBE \u002F Knight or Bohlin | age-and-tissue-matched clocks |\n| Cancer \u002F mitotic-age question | epiTOC \u002F epiTOC2 | estimates cell divisions, a different aging axis |\n| EPICv2 data | clock that retains its CpGs (Horvath\u002FPhenoAge) | GrimAge\u002FHannum\u002FDunedinPACE lose >10% of CpGs on EPICv2 |\n| Adjust EAA for cell composition (IEAA) | -> cell-type-deconvolution | residualize the clock on estimated cell counts |\n| Train or validate a new predictor | -> machine-learning\u002Fmodel-validation | clocks here APPLY frozen models; they are not trained here |\n| Survival\u002Fmortality model of EAA | -> clinical-biostatistics\u002Fsurvival-analysis | EAA-to-outcome modeling lives there |\n\n## Apply a Clock and Extract Age Acceleration\n\n**Goal:** Compute DNAm age for several clocks and turn the raw ages into age acceleration, the actual endpoint.\n\n**Approach:** Run `DNAmAge` with chronological age supplied so it returns acceleration columns directly; `ageAcc` is the raw DNAm-minus-chronological difference and `ageAcc2` is the residual of DNAm age on chronological age (the EAA to test). Always check clock-CpG coverage first.\n\n```r\nlibrary(methylclock)\n\ncpg_report \u003C- checkClocks(beta)        # which clock CpGs are missing BEFORE estimating\nages \u003C- DNAmAge(beta, clocks = c('Horvath', 'Hannum', 'Levine', 'skinHorvath'),\n                age = pheno$age,       # supplying age yields ageAcc and ageAcc2 columns\n                cell.count = FALSE,    # set TRUE only when adjusting toward IEAA-style estimates\n                min.perc = 0.8)        # refuse a clock missing >20% of its CpGs (default 0.8)\n# ageAcc  = DNAm age - chronological age (raw difference)\n# ageAcc2 = residual of DNAm age on chronological age = the EAA endpoint with cell.count=FALSE\n#   (methylclock labels ageAcc2 \"similar to IEAA\"; confirm the exact column semantics in the\n#    installed vignette, and the cell-count-adjusted residual when cell.count=TRUE)\n```\n\nThe `dnaMethyAge` package returns acceleration in one call and exposes author-year clock IDs:\n\n```r\nlibrary(dnaMethyAge)\navailableClock()                                  # confirm the installed clock-name strings\nphenoage \u003C- methyAge(beta, clock = 'LevineM2018',\n                     age_info = pheno,            # data.frame with Sample, Age (Sex for GrimAge variants)\n                     fit_method = 'Linear')       # adds an Age_Acceleration column\n```\n\n## Pace of Aging Is Not an Age\n\n**Goal:** Compute DunedinPACE as a rate and keep it on its own scale.\n\n**Approach:** Use the dedicated package; the output is a per-sample pace (~1.0 = normal). Do not regress it on chronological age and do not merge it with age-clock acceleration.\n\n```r\nlibrary(DunedinPACE)\npace \u003C- PACEProjector(beta)   # returns the DunedinPACE pace values (~1.0 = normal, >1 = faster aging); report as-is\n# Never residualize PACE on chronological age and never compare its value to Horvath years.\n```\n\n## Reliability and PC Clocks\n\nFor longitudinal, interventional, or clinical-trial endpoints, first-gen per-CpG noise (Sugden 2020) can swamp a small intervention effect. PC clocks (Higgins-Chen 2022) train the elastic net on principal components across thousands of CpGs, averaging out per-CpG noise and lifting test-retest ICC toward ~0.9. They live in methylCIPHER (MorganLevineLab), not in methylclock. Use a PC clock, or at minimum document an ICC\u002Freliability assessment, for any repeated-measures design.\n\n## Per-Method Failure Modes\n\n### GO-enriching clock CpGs\n**Trigger:** running pathway enrichment on a clock's CpG list to \"explain aging.\" **Mechanism:** the CpGs are penalty-selected prediction features, one arbitrary representative per correlated cluster. **Symptom:** a plausible-looking enrichment that is an artifact of feature selection. **Fix:** do not enrich clock CpGs; treat them as predictors only.\n\n### Reporting raw DNAm age instead of acceleration\n**Trigger:** correlating raw DNAm age with an exposure. **Mechanism:** raw age is dominated by chronological age (r > 0.9). **Symptom:** every clock \"associates\" with age-correlated variables. **Fix:** test the residual (ageAcc2 \u002F Age_Acceleration \u002F IEAA), not the raw age.\n\n### Missing clock CpGs mean-imputed\n**Trigger:** a platform or failed probes drop clock CpGs; the tool imputes to the training mean. **Mechanism:** mean-imputation pulls the prediction toward the training population age and shrinks variance. **Symptom:** age acceleration biased toward zero; attenuated associations; on EPICv2 Hannum can return NEGATIVE ages. **Fix:** report the fraction of clock CpGs present (`checkClocks`); flag\u002Frefuse samples with high missingness; prefer a clock that retains its CpGs on the platform.\n\n### EPICv2 replicate probes not collapsed\n**Trigger:** feeding a raw EPICv2 matrix with suffixed replicate probe IDs. **Mechanism:** EPICv2 carries multiple beads per CpG with suffixed names, so the clock cannot find its CpGs. **Symptom:** huge apparent CpG dropout, nonsensical ages. **Fix:** collapse replicate probes to one value per CpG upstream before any clock call.\n\n### First-gen clock used for a longitudinal endpoint\n**Trigger:** detecting a small intervention effect with Horvath\u002FHannum across timepoints. **Mechanism:** per-CpG test-retest noise (Sugden 2020) rivals the effect. **Symptom:** unstable EAA between replicates; the effect is inside the noise band. **Fix:** PC clocks (methylCIPHER) or a documented reliability assessment.\n\n### Cross-tissue or cross-ancestry application\n**Trigger:** a blood-trained clock (Hannum) on saliva, or a European-cohort clock applied elsewhere. **Mechanism:** clocks do not automatically transfer. **Symptom:** a systematic age offset vs known age. **Fix:** use a tissue-appropriate clock (skin&blood, PedBE, gestational) and report a known-age calibration check.\n\n## Quantitative Thresholds\n\n| Threshold | Source | Rationale |\n|-----------|--------|-----------|\n| Report fraction of clock CpGs present | Higgins-Chen 2022 *Nat Aging* 2:644 | high imputed fraction invalidates the estimate |\n| `min.perc` >= 0.8 of clock CpGs | methylclock docs | below ~80% coverage mean-imputation dominates the prediction |\n| EPICv2 dropout 3.5-32.6% per clock; GrimAge\u002FHannum\u002FDunedinPACE > 10% | EPICv2 clock benchmarks | platform-specific; pick a CpG-retaining clock on EPICv2 |\n| First-gen clock CpG ICC often \u003C 0.5 | Sugden 2020 *Patterns* 1:100014 | technical noise rivals signal; use PC clocks for repeated measures |\n| PC clock ICC ~0.9+ | Higgins-Chen 2022 *Nat Aging* 2:644 | the reliability bar for longitudinal\u002Ftrial designs |\n| EAA = residual of DNAm age on chronological age | Horvath 2013 *Genome Biol* 14:R115 | the endpoint; raw age is uninformative (r > 0.9 with chronological age) |\n| Horvath age transform applied for age \u003C 20 | Horvath 2013 *Genome Biol* 14:R115 | the clock is log-linear below 20y; do not compare pre\u002Fpost-transform values |\n\n## Common Errors\n\n| Error \u002F symptom | Cause | Solution |\n|-----------------|-------|----------|\n| Every clock correlates with an age-linked variable | testing raw DNAm age | test age acceleration (residual), not raw age |\n| Hannum returns negative ages | EPICv2 clock-CpG dropout | use a CpG-retaining clock; report coverage; collapse replicate probes |\n| Age acceleration shrunk toward zero | clock CpGs mean-imputed | report `checkClocks` coverage; refuse high-missingness samples |\n| Many clock CpGs \"missing\" on EPICv2 | replicate probes not collapsed | collapse suffixed probes to one value per CpG upstream |\n| DunedinPACE compared to Horvath years | mixing a rate with an age | keep PACE on its own scale; never residualize it |\n| Unstable EAA across replicates | first-gen per-CpG noise | PC clocks (methylCIPHER) or a reliability assessment |\n| `methyAge` clock name not found | wrong clock-ID string | `availableClock()` for installed author-year IDs |\n\n## References\n\n- Horvath S. 2013. DNA methylation age of human tissues and cell types. *Genome Biol* 14:R115.\n- Hannum G, Guinney J, Zhao L, et al. 2013. Genome-wide methylation profiles reveal quantitative views of human aging rates. *Mol Cell* 49:359-367.\n- Horvath S, Oshima J, Martin GM, et al. 2018. Epigenetic clock for skin and blood cells applied to Hutchinson Gilford Progeria Syndrome and ex vivo studies. *Aging (Albany NY)* 10:1758-1775.\n- Levine ME, Lu AT, Quach A, et al. 2018. An epigenetic biomarker of aging for lifespan and healthspan. *Aging (Albany NY)* 10:573-591.\n- Lu AT, Quach A, Wilson JG, et al. 2019. DNA methylation GrimAge strongly predicts lifespan and healthspan. *Aging (Albany NY)* 11:303-327.\n- Belsky DW, Caspi A, Corcoran DL, et al. 2022. DunedinPACE, a DNA methylation biomarker of the pace of aging. *eLife* 11:e73420.\n- McEwen LM, O'Donnell KJ, McGill MG, et al. 2020. The PedBE clock accurately estimates DNA methylation age in pediatric buccal cells. *PNAS* 117:23329-23335.\n- Knight AK, Craig JM, Theda C, et al. 2016. An epigenetic clock for gestational age at birth based on blood methylation data. *Genome Biol* 17:206.\n- Bohlin J, Haberg SE, Magnus P, et al. 2016. Prediction of gestational age based on genome-wide differentially methylated regions. *Genome Biol* 17:207.\n- Yang Z, Wong A, Kuh D, et al. 2016. Correlation of an epigenetic mitotic clock with cancer risk. *Genome Biol* 17:205.\n- Sugden K, Hannon EJ, Arseneault L, et al. 2020. Patterns of reliability: assessing the reproducibility and integrity of DNA methylation measurement. *Patterns (N Y)* 1:100014.\n- Higgins-Chen AT, Thrush KL, Wang Y, et al. 2022. A computational solution for bolstering reliability of epigenetic clocks. *Nat Aging* 2:644-661.\n- Pelegi-Siso D, de Prado P, Ronkainen J, et al. 2021. methylclock: a Bioconductor package to estimate DNA methylation age. *Bioinformatics* 37:1759-1760.\n\n## Related Skills\n\n- array-preprocessing - Provides the clean beta matrix clocks consume\n- cell-type-deconvolution - IEAA: adjust age acceleration for cell composition\n- machine-learning\u002Fmodel-validation - Predictor training, cross-validation, leakage (clocks apply frozen models)\n- clinical-biostatistics\u002Fsurvival-analysis - Survival\u002Fmortality modeling of age acceleration\n- ewas-design - Age-acceleration association study design\n- workflows\u002Fmethylation-pipeline - End-to-end methylation pipeline\n",{"name":5,"source":24,"license":15,"tool_type":25,"description":7,"imported_at":26,"source_path":27,"primary_tool":28,"source_repository":29},"https:\u002F\u002Fgithub.com\u002FGPTomics\u002FbioSkills","r","2026-09-20","methylation-analysis\u002Fepigenetic-clocks\u002FSKILL.md","methylclock","GPTomics\u002FbioSkills","main","2d1750717747097b602acf30bd09a7cbd4b4c6ea","awesome_skills\u002Fbiology\u002Fbio-methylation-epigenetic-clocks","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous","2026-11-09 11:45:36",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill bio-methylation-epigenetic-clocks",{"tool":42,"command":43},"bunx","bunx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill bio-methylation-epigenetic-clocks",{"tool":45,"command":46},"pnpm","pnpm dlx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill bio-methylation-epigenetic-clocks","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-methylation-epigenetic-clocks\u002FSKILL.md",true,[50,56],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"examples\u002Fepigenetic_clocks.R","OTHER","其他",3899,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-methylation-epigenetic-clocks\u002Fexamples\u002Fepigenetic_clocks.R",{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":61},"usage-guide.md","REFERENCE","参考文档",5866,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-methylation-epigenetic-clocks\u002Fusage-guide.md",[63,71,78,85,92,99],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":70},"01M7FFFZPC2025JQQHPHDX154J","dei-assessment","Assess diversity, equity, and inclusion with metrics. TRIGGERS - Use when user needs help with dei-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-assessment\u002FSKILL.md",[],[],"2026-11-16 10:05:34",{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":70},"01M7FFFWN8H4WA7A6Y398QKB6J","dei-action-plan","Create DEI action plans with goals and initiatives. TRIGGERS - Use when user needs help with dei-action-plan related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-action-plan\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":70},"01M7FFFSHTM0QZRVZ2NRJTJ0PY","culture-fit-assessment","Design culture add assessment processes. TRIGGERS - Use when user needs help with culture-fit-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fculture-fit-assessment\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":70},"01M7FFFMA12RKEQA38KHJSXXPS","cowork-to-code-bridge","Use an already-installed, independently verified cowork-to-code bridge to run narrowly approved actions on the user's own macOS, Linux, or WSL2 machine through a local file queue.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcowork-to-code-bridge\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":70},"01M7FFFH1F6M8YRGW5V487GH1K","counter-offer-response","Draft counter-offer responses for retention. TRIGGERS - Use when user needs help with counter-offer-response related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcounter-offer-response\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":70},"01M7FFFDGEHV8Y7J9N40HZXW52","continuous-feedback-system","Design continuous feedback systems. TRIGGERS - Use when user needs help with continuous-feedback-system related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcontinuous-feedback-system\u002FSKILL.md",[],[]]