[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ECNBP9Z29286R3TRN64EWM":3,"skill-same:01M7ECNBP9Z29286R3TRN64EWM":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},"01M7ECNBP9Z29286R3TRN64EWM","bio-data-visualization-dimensionality-reduction-plots",null,"Produce and interpret PCA, t-SNE, UMAP, and PHATE plots for high-dimensional omics data with rigor about which method preserves what (variance, local structure, manifold, transitions), hyperparameter sensitivity, and the well-documented limits of 2D embeddings. Covers PCA biplot\u002Fscree\u002Floadings, t-SNE PCA initialization (Kobak-Berens 2019), UMAP n_neighbors\u002Fmin_dist trade-offs, and the Chari-Pachter 2023 critique. Use when visualizing high-dimensional data — bulk PCA, single-cell embeddings, multi-omics integration projections.","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-data-visualization-dimensionality-reduction-plots\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: bio-data-visualization-dimensionality-reduction-plots\ndescription: Produce and interpret PCA, t-SNE, UMAP, and PHATE plots for high-dimensional omics data with rigor about which method preserves what (variance, local structure, manifold, transitions), hyperparameter sensitivity, and the well-documented limits of 2D embeddings. Covers PCA biplot\u002Fscree\u002Floadings, t-SNE PCA initialization (Kobak-Berens 2019), UMAP n_neighbors\u002Fmin_dist trade-offs, and the Chari-Pachter 2023 critique. Use when visualizing high-dimensional data — bulk PCA, single-cell embeddings, multi-omics integration projections.\ntool_type: mixed\nprimary_tool: scanpy\nsource: \"https:\u002F\u002Fgithub.com\u002FGPTomics\u002FbioSkills\"\nsource_repository: \"GPTomics\u002FbioSkills\"\nsource_path: \"data-visualization\u002Fdimensionality-reduction-plots\u002FSKILL.md\"\nlicense: \"MIT\"\nimported_at: \"2026-09-20\"\n---\n\n## Version Compatibility\n\nReference examples tested with: scanpy 1.10+, anndata 0.10+, scikit-learn 1.4+, umap-learn 0.5+, openTSNE 1.0+, phate 1.0+, ggplot2 3.5+, PCAtools 2.16+, matplotlib 3.8+.\n\nBefore using code patterns, verify installed versions match. If versions differ:\n- Python: `pip show \u003Cpackage>` then `help(module.function)` to check signatures\n- R: `packageVersion('\u003Cpkg>')` then `?function_name` to verify parameters\n\nIf code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying.\n\n# Dimensionality-Reduction Plots\n\n**\"Make a PCA \u002F UMAP \u002F t-SNE plot\"** -> Choose a projection method aligned with what the plot must reveal — variance explained (PCA), local neighborhood structure (t-SNE), manifold approximation with some global structure (UMAP), or continuous transitions (PHATE). Set hyperparameters deliberately. Communicate the projection's limits and refuse to over-interpret 2D distances.\n\n- Python: `sklearn.decomposition.PCA`, `openTSNE`, `umap-learn`, `phate`, `scanpy.tl.umap` \u002F `scanpy.tl.tsne` \u002F `scanpy.tl.pca`\n- R: `prcomp`, `PCAtools::pca`, `Seurat::RunPCA` \u002F `RunUMAP` \u002F `RunTSNE`, `phateR`\n\n## The Single Most Important Modern Insight -- 2D Embeddings Distort\n\nChari & Pachter 2023 *PLOS Comp Biol* 19:e1011288 demonstrated that 2D embeddings of single-cell data lose >95% of the high-dimensional geometry — local neighborhoods are preserved by construction, but distances between distant cells, density estimates, and global topology are NOT preserved. The \"specious art\" of single-cell genomics is the practice of reading 2D layout as biology.\n\nPractical consequence: a UMAP plot communicates \"these cells are similar locally\" and nothing more. Distance between clusters is meaningless. Density of points within a cluster is dominated by the embedding's repulsion parameter, not the underlying biology. A trajectory inferred from \"the gap\" between two clusters in UMAP space is an artifact unless validated against the high-dimensional data (RNA velocity, diffusion pseudotime, PHATE).\n\nA second foundational paper is Kobak & Berens 2019 *Nat Commun* 10:5416 on t-SNE for single-cell: PCA initialization + early-exaggeration + multi-scale similarity kernels recover more global structure than default t-SNE settings. The same logic applies to UMAP via `init='spectral'` (default) and `min_dist`.\n\n## Algorithmic Taxonomy\n\n| Method | Preserves | Hyperparameters | Strength | Fails when |\n|--------|-----------|-----------------|----------|------------|\n| PCA | Linear variance (orthogonal, ordered) | n_components, scaling | Interpretable via loadings; deterministic; variance % per axis | Non-linear manifolds; high-dim data with few effective dims |\n| t-SNE (van der Maaten 2008) | Local neighborhoods (Student-t similarity) | perplexity (typ. 30-50), learning_rate, n_iter, init | Crisp cluster separation | Global distances meaningless; cluster sizes deceptive; non-deterministic |\n| UMAP (McInnes 2018, Becht 2018) | Manifold local + partial global | n_neighbors (typ. 15-50), min_dist (typ. 0.1-0.5), spread | Faster than t-SNE; better global preservation than default t-SNE; deterministic given seed | Still distorts; n_neighbors small -> shattered; large -> homogenized |\n| PHATE (Moon 2019) | Continuous transitions, branching trajectories | k (knn), t (diffusion power) | Best for developmental trajectories; preserves transition geometry | Slower; less canonical for clustering display |\n| Diffusion map | Diffusion distance | epsilon, n_components | Theoretically motivated; supports pseudotime | Less visually striking; less commonly used |\n| MDS \u002F classical MDS | Global Euclidean distances | n_components, dissimilarity matrix | Honest about distance preservation | Computationally expensive >5000 points |\n| Isomap | Geodesic distance on knn graph | n_neighbors, n_components | Captures non-linear manifold | Sensitive to k; less popular than UMAP |\n| Force-directed (PAGA, ForceAtlas2) | Graph topology | Layout-specific | Best for connectivity (PAGA cluster graph) | Not for dense cells; aesthetic |\n\n## Decision Tree by Scenario\n\n| Scenario | Recommended | Why |\n|----------|-------------|-----|\n| Bulk RNA-seq sample QC | PCA on log-vst counts; show PC1 vs PC2 with metadata color | Variance explained is meaningful for batch detection |\n| Single-cell broad cluster overview | UMAP `n_neighbors=30, min_dist=0.3` after PCA(50) | Standard; preserves clusters; faster than t-SNE |\n| Single-cell with delicate trajectories | PHATE OR diffusion map | Preserves continuous transitions |\n| Cluster cardinality \u002F boundary visualization | t-SNE with PCA init, perplexity=50 (Kobak-Berens) | Crisper cluster separation than UMAP |\n| Multi-omics integration projection | MOFA factors + PCA, or UMAP of joint embedding | Per-omics projection often misleading |\n| Spatial transcriptomics with histology | UMAP for transcriptional axis; SEPARATE spatial scatter | UMAP collapses physical space |\n| Identify which genes drive variation | PCA biplot with loadings as arrows | Loadings are interpretable; UMAP\u002Ft-SNE has no loadings |\n| Demonstrating batch confound | PCA color by batch -- if PC1\u002FPC2 separates batches, batch is the dominant variance | UMAP can hide batch effect via local neighborhood preservation |\n| Visualizing 50 conditions | UMAP\u002Ft-SNE for nuance; faceted PCA for interpretability | Method choice depends on question |\n\n## PCA -- The Underused Workhorse\n\nPCA is interpretable, deterministic, and the loadings explain WHY samples cluster — UMAP\u002Ft-SNE cannot do this. For bulk RNA-seq sample QC, PCA is the right answer 90% of the time.\n\n**Goal:** Project samples into a low-dim space whose axes are linear combinations of features ordered by variance explained, then visualize PC1 vs PC2 colored by metadata.\n\n**Approach:** Variance-stabilize counts (DESeq2 `vst()` \u002F `rlog()`); run PCA on transposed expression matrix; annotate axes with variance-explained percentages; layer screeplot and loadings plot to support interpretation.\n\n```r\nlibrary(DESeq2)\nlibrary(PCAtools)\nlibrary(ggplot2)\nvsd \u003C- vst(dds, blind = FALSE)\np \u003C- pca(assay(vsd), metadata = as.data.frame(colData(dds)))\nbiplot(p, colby = 'condition', shape = 'batch', lab = NULL,\n       hline = 0, vline = 0,\n       legendPosition = 'right',\n       title = paste0('PCA: PC1 (', round(p$variance[1], 1), '%) vs PC2 (', round(p$variance[2], 1), '%)'))\nscreeplot(p, components = 1:10)\nloadings_plot \u003C- plotloadings(p, components = 1, rangeRetain = 0.05)\n```\n\n```python\nfrom sklearn.decomposition import PCA\nimport matplotlib.pyplot as plt\n\npca = PCA(n_components=10)\nX_pca = pca.fit_transform(X)\nvar = pca.explained_variance_ratio_\n\nfig, axes = plt.subplots(1, 2, figsize=(10, 4))\naxes[0].scatter(X_pca[:, 0], X_pca[:, 1], c=labels, alpha=0.7)\naxes[0].set_xlabel(f'PC1 ({var[0]*100:.1f}%)')\naxes[0].set_ylabel(f'PC2 ({var[1]*100:.1f}%)')\naxes[1].plot(range(1, 11), var, 'o-')\naxes[1].set_xlabel('PC')\naxes[1].set_ylabel('Variance explained')\n```\n\n**Always label axes with variance explained.** A PCA plot without `PC1 (45%)` annotation is unreadable. If PC1 = 5% and PC2 = 4%, apparent \"clusters\" may be noise.\n\n## t-SNE -- Kobak-Berens Modern Defaults\n\nDefault t-SNE (Maaten 2008) loses global structure. Kobak-Berens 2019 demonstrated that three changes recover it:\n\n1. **Initialize with PCA**, not random — `init='pca'` (openTSNE) or pre-compute PCA scores as init\n2. **High learning rate** — `learning_rate = n\u002F12` (n = number of points), not the default 200\n3. **Early exaggeration** — `exaggeration=12, early_exaggeration_iter=250` for large data\n\n```python\nimport openTSNE\nimport numpy as np\n\n# Kobak-Berens defaults\nembedding = openTSNE.TSNE(\n    perplexity=30,                          # 30-50 typical\n    n_iter=750,\n    initialization='pca',                   # NOT random\n    learning_rate=X.shape[0] \u002F 12,          # scales with n\n    n_jobs=-1,\n    random_state=42).fit(X)\n```\n\n```r\nlibrary(Rtsne)\nset.seed(42)\nts \u003C- Rtsne(X, perplexity = 30, theta = 0.5, pca_scale = TRUE,\n            initial_dims = 50, max_iter = 750)\n# Rtsne does not natively support PCA initialization; use external init via Y_init=\n```\n\n**Perplexity is the local-vs-global trade-off.** Low (5) -> local; high (100) -> global. 30-50 is standard for >1000 points.\n\n## UMAP -- Modern Defaults and the Random-Seed Trap\n\n```python\nimport umap\nreducer = umap.UMAP(\n    n_neighbors=30,        # local-global balance; 15-50 typical\n    min_dist=0.3,          # tightness of clusters; 0.1-0.5 typical\n    n_components=2,\n    metric='euclidean',\n    random_state=42)       # reproducibility\nembedding = reducer.fit_transform(X)\n```\n\n```r\nlibrary(uwot)\nset.seed(42)\num \u003C- umap(X, n_neighbors = 30, min_dist = 0.3, metric = 'euclidean')\n```\n\n```python\n# scanpy convention -- after sc.tl.pca, sc.pp.neighbors\nsc.pp.neighbors(adata, n_neighbors=30, n_pcs=50)\nsc.tl.umap(adata, min_dist=0.3, random_state=42)\nsc.pl.umap(adata, color='leiden', palette='tab20', frameon=False,\n           legend_loc='on data', legend_fontsize=7,\n           save='_clusters.pdf')\n```\n\n**`min_dist` controls tightness, NOT separation.** Smaller min_dist = tighter clusters. Does not change which cells cluster together — only how dense the rendering is.\n\n**`n_neighbors` controls local-vs-global.** Small n_neighbors = local fragmentation; large n_neighbors = clusters merge.\n\n**Random seed matters.** UMAP is deterministic given seed; without setting seed, results vary across runs. Always set `random_state` (umap-learn) or `seed=` (uwot).\n\n**scanpy.pl.umap save trap:** `save='_x.pdf'` writes to `sc.settings.figdir` (default `.\u002Ffigures\u002F`) with prefix `umap`, producing `figures\u002Fumap_x.pdf` — not the path specified. Default `dpi_save = 150` is below journal requirements.\n\n## PHATE -- For Continuous Trajectories\n\n```python\nimport phate\nphate_op = phate.PHATE(knn=10, decay=40, t='auto', n_jobs=-1, random_state=42)\nemb = phate_op.fit_transform(X)\nplt.scatter(emb[:, 0], emb[:, 1], c=pseudotime, cmap='viridis', s=5)\n```\n\nPHATE preserves transition geometry — for embryonic development, differentiation trajectories, or any continuous-state biology, PHATE is more faithful than UMAP. For discrete cell types, UMAP is fine.\n\n## Per-Method Failure Modes\n\n### Over-interpreting UMAP distances\n\n**Trigger:** Reading \"cluster A is closer to cluster B than to C\" as biological similarity.\n\n**Mechanism:** UMAP preserves local neighborhoods; global distances are NOT preserved (Chari-Pachter 2023).\n\n**Symptom:** Conclusion contradicts hierarchical clustering \u002F RNA velocity \u002F known biology.\n\n**Fix:** Validate inter-cluster relationships against high-dimensional metrics (correlation, distance in PCA space, RNA velocity).\n\n### t-SNE \u002F UMAP without random seed\n\n**Trigger:** Reproducibility request; figure differs between runs.\n\n**Mechanism:** Both methods use stochastic optimization; default seed varies.\n\n**Symptom:** Re-running the script produces visibly different layouts.\n\n**Fix:** Set `random_state=42` (umap-learn, sklearn) or `seed=42` (R uwot\u002FRtsne).\n\n### Perplexity too low for the data\n\n**Trigger:** Default t-SNE perplexity (30) on small dataset (\u003C500 points).\n\n**Mechanism:** Perplexity > n\u002F3 fails; cells artificially fragment.\n\n**Symptom:** Plot shows \"shattered\" small clusters that don't correspond to biology.\n\n**Fix:** For small n: perplexity = max(5, n\u002F30). For very large n: perplexity 50-100.\n\n### PCA without scaling\n\n**Trigger:** `prcomp(X)` or `PCA().fit(X)` without scaling rows\u002Fcolumns first.\n\n**Mechanism:** Genes with high absolute expression dominate variance; PCA captures library-size effect rather than biological variation.\n\n**Symptom:** PC1 perfectly correlates with library size or with total expression.\n\n**Fix:** Use `vst()` \u002F `rlog()` (DESeq2) or log + scale (`prcomp(X, scale.=TRUE)`). For single-cell, normalize then `sc.pp.scale_data`.\n\n### UMAP cluster shapes \"interpreted\" as biological signal\n\n**Trigger:** Reporting that a cluster is \"elongated\" or \"round\" as biological observation.\n\n**Mechanism:** UMAP cluster shape is an artifact of `min_dist` and `n_neighbors`, not biology.\n\n**Symptom:** Reviewer asks \"why is the immune cluster elongated?\"; no answer except the embedding.\n\n**Fix:** Do not interpret cluster shape. Report cluster membership and validate biology via marker genes.\n\n### scanpy.pl.umap save writes to figures\u002F subdirectory\n\n**Trigger:** `sc.pl.umap(adata, save='myplot.pdf')` with the expectation that myplot.pdf will land in the current directory.\n\n**Mechanism:** `save=` is concatenated with `sc.settings.figdir` (default `.\u002Ffigures\u002F`) and prefixed with `umap`.\n\n**Symptom:** File not at the requested path; actually at `figures\u002Fumapmyplot.pdf`.\n\n**Fix:** Set `sc.settings.figdir='\u002Fabs\u002Fpath\u002F'` AND `save='_descriptive.pdf'` so result is `figures\u002Fumap_descriptive.pdf`. For full path control use `matplotlib.savefig` after `sc.pl.umap(show=False)`.\n\n### Default DPI 150 below journal requirements\n\n**Trigger:** scanpy `sc.settings.set_figure_params()` default `dpi_save=150`.\n\n**Mechanism:** Nature\u002FCell require 300+ DPI for raster.\n\n**Symptom:** Figure looks fine on screen, rejected at submission.\n\n**Fix:** `sc.set_figure_params(dpi_save=300, figsize=(4, 4))`.\n\n### PCA loadings interpreted on UMAP\u002Ft-SNE coordinates\n\n**Trigger:** \"PC1 axis on UMAP\" — projecting loadings onto UMAP.\n\n**Mechanism:** UMAP\u002Ft-SNE coordinates have no linear interpretation; loadings are PCA-specific.\n\n**Symptom:** Conclusion about \"what UMAP-x means\" that has no foundation.\n\n**Fix:** Use PCA when loadings are needed. Show UMAP for visualization and PCA for axis-driving gene identification, separately.\n\n## Reconciliation: When Methods Disagree\n\n| Pattern | Likely cause | Action |\n|---------|--------------|--------|\n| t-SNE shows distinct clusters; UMAP merges them | t-SNE over-emphasizes local structure; UMAP n_neighbors too large | Both views valid; check Leiden cluster assignments rather than embedding |\n| PCA shows batch on PC1; UMAP hides it | UMAP preserves local neighborhood within each batch | Run UMAP only after batch correction; PCA is the canonical batch-effect diagnostic |\n| PHATE shows continuous trajectory; UMAP shows discrete clusters | PHATE preserves transitions; UMAP \"blobifies\" continuous data | Use PHATE for trajectory display; UMAP for discrete cell-type display |\n| Reproducibility breaks across re-runs | Random seed not set | Set seed; document version of umap-learn\u002FopenTSNE |\n| Cluster boundaries differ between Seurat\u002Fscanpy UMAP | Different defaults for n_neighbors, min_dist, init | Standardize hyperparameters; report explicitly |\n\n**Operational rule:** report ALL hyperparameters used (perplexity, n_neighbors, min_dist, random_state). State the embedding's interpretation limit (\"local neighborhood; distances between clusters not meaningful\"). For trajectory claims, validate with RNA velocity, pseudotime, or PHATE.\n\n## Quantitative Thresholds\n\n| Threshold | Value | Source |\n|-----------|-------|--------|\n| t-SNE perplexity | 30-50 for n>1000; max(5, n\u002F30) for n\u003C500 | Maaten 2008; Kobak-Berens 2019 |\n| UMAP n_neighbors | 15-50 default range | umap-learn docs; Becht 2018 |\n| UMAP min_dist | 0.1-0.5 | Tighter for crisp clusters, looser for continua |\n| t-SNE learning rate | n \u002F 12 (Kobak-Berens) | Default 200 over-shrinks large data |\n| PCA n_components for downstream UMAP | 30-50 | Standard scanpy workflow |\n| Single-cell n_neighbors for sc.pp.neighbors | 15-30 | Wolf 2018 Scanpy paper |\n| Save DPI for publication | 300+ | Nature\u002FCell figure guidelines |\n| Random seed | 42 (or any fixed integer) | Reproducibility |\n\n## Common Errors\n\n| Error \u002F symptom | Cause | Solution |\n|-----------------|-------|----------|\n| Plot differs between runs | Random seed not set | `random_state=42` always |\n| PC1 = library size | No scaling\u002Fnormalization | `vst()` or `log + scale` before PCA |\n| Cluster shapes \"interpreted\" biologically | UMAP artifact | Do not interpret shape; report membership |\n| scanpy save writes to wrong path | figdir + prefix concatenation | Set figdir explicitly OR use matplotlib.savefig |\n| t-SNE fragments small dataset | Perplexity too high for n | Use perplexity = max(5, n\u002F30) |\n| Inter-cluster \"distance\" used in trajectory claim | UMAP distances not meaningful | Validate with RNA velocity \u002F PHATE |\n| Loadings interpreted on UMAP axes | UMAP has no loadings | Use PCA for loading-driven interpretation |\n\n## Anticipated Reviewer Pushback\n\n| Pushback | Standard response |\n|----------|-------------------|\n| \"Why UMAP and not t-SNE?\" | UMAP for cluster overview (faster, better global preservation given Becht 2018); t-SNE in supplementary if cluster boundaries are the focus |\n| \"What hyperparameters?\" | Explicit n_neighbors, min_dist, n_pcs, random_state in caption AND methods |\n| \"Why is cluster X shaped this way?\" | UMAP\u002Ft-SNE cluster shape is an embedding artifact; cluster membership is the biological observation |\n| \"Are these trajectories real?\" | Validated via RNA velocity \u002F PHATE \u002F diffusion pseudotime (NOT inferred from UMAP layout alone) |\n| \"Why PCA?\" | Variance explained per axis is interpretable for sample QC; loadings identify driving genes (uniquely PCA, NOT UMAP) |\n\n## References\n\n- Becht E, McInnes L, Healy J, et al. 2019. Dimensionality reduction for visualizing single-cell data using UMAP. *Nat Biotechnol* 37(1):38-44.\n- Chari T, Pachter L. 2023. The specious art of single-cell genomics. *PLOS Comp Biol* 19(8):e1011288.\n- Kobak D, Berens P. 2019. The art of using t-SNE for single-cell transcriptomics. *Nat Commun* 10:5416.\n- McInnes L, Healy J, Melville J. 2018. UMAP: Uniform Manifold Approximation and Projection for dimension reduction. *arXiv:1802.03426*.\n- Moon KR, van Dijk D, Wang Z, et al. 2019. Visualizing structure and transitions in high-dimensional biological data. *Nat Biotechnol* 37(12):1482-1492.\n- van der Maaten L, Hinton G. 2008. Visualizing data using t-SNE. *J Mach Learn Res* 9:2579-2605.\n- Wolf FA, Angerer P, Theis FJ. 2018. SCANPY: large-scale single-cell gene expression data analysis. *Genome Biol* 19:15.\n\n## Related Skills\n\n- single-cell\u002Fpreprocessing - PCA \u002F neighbor-graph computation before embedding\n- single-cell\u002Fclustering - Leiden \u002F Louvain cluster assignments visualized in UMAP\n- single-cell\u002Ftrajectory-inference - PHATE, diffusion pseudotime, RNA velocity for trajectory claims\n- data-visualization\u002Fcolor-palettes - Categorical palette for cluster labels\n- data-visualization\u002Fdistribution-plots - Per-cluster gene-expression follow-up\n- data-visualization\u002Fheatmaps-clustering - Alternative view of the same high-dim matrix\n","## Version Compatibility\n\nReference examples tested with: scanpy 1.10+, anndata 0.10+, scikit-learn 1.4+, umap-learn 0.5+, openTSNE 1.0+, phate 1.0+, ggplot2 3.5+, PCAtools 2.16+, matplotlib 3.8+.\n\nBefore using code patterns, verify installed versions match. If versions differ:\n- Python: `pip show \u003Cpackage>` then `help(module.function)` to check signatures\n- R: `packageVersion('\u003Cpkg>')` then `?function_name` to verify parameters\n\nIf code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying.\n\n# Dimensionality-Reduction Plots\n\n**\"Make a PCA \u002F UMAP \u002F t-SNE plot\"** -> Choose a projection method aligned with what the plot must reveal — variance explained (PCA), local neighborhood structure (t-SNE), manifold approximation with some global structure (UMAP), or continuous transitions (PHATE). Set hyperparameters deliberately. Communicate the projection's limits and refuse to over-interpret 2D distances.\n\n- Python: `sklearn.decomposition.PCA`, `openTSNE`, `umap-learn`, `phate`, `scanpy.tl.umap` \u002F `scanpy.tl.tsne` \u002F `scanpy.tl.pca`\n- R: `prcomp`, `PCAtools::pca`, `Seurat::RunPCA` \u002F `RunUMAP` \u002F `RunTSNE`, `phateR`\n\n## The Single Most Important Modern Insight -- 2D Embeddings Distort\n\nChari & Pachter 2023 *PLOS Comp Biol* 19:e1011288 demonstrated that 2D embeddings of single-cell data lose >95% of the high-dimensional geometry — local neighborhoods are preserved by construction, but distances between distant cells, density estimates, and global topology are NOT preserved. The \"specious art\" of single-cell genomics is the practice of reading 2D layout as biology.\n\nPractical consequence: a UMAP plot communicates \"these cells are similar locally\" and nothing more. Distance between clusters is meaningless. Density of points within a cluster is dominated by the embedding's repulsion parameter, not the underlying biology. A trajectory inferred from \"the gap\" between two clusters in UMAP space is an artifact unless validated against the high-dimensional data (RNA velocity, diffusion pseudotime, PHATE).\n\nA second foundational paper is Kobak & Berens 2019 *Nat Commun* 10:5416 on t-SNE for single-cell: PCA initialization + early-exaggeration + multi-scale similarity kernels recover more global structure than default t-SNE settings. The same logic applies to UMAP via `init='spectral'` (default) and `min_dist`.\n\n## Algorithmic Taxonomy\n\n| Method | Preserves | Hyperparameters | Strength | Fails when |\n|--------|-----------|-----------------|----------|------------|\n| PCA | Linear variance (orthogonal, ordered) | n_components, scaling | Interpretable via loadings; deterministic; variance % per axis | Non-linear manifolds; high-dim data with few effective dims |\n| t-SNE (van der Maaten 2008) | Local neighborhoods (Student-t similarity) | perplexity (typ. 30-50), learning_rate, n_iter, init | Crisp cluster separation | Global distances meaningless; cluster sizes deceptive; non-deterministic |\n| UMAP (McInnes 2018, Becht 2018) | Manifold local + partial global | n_neighbors (typ. 15-50), min_dist (typ. 0.1-0.5), spread | Faster than t-SNE; better global preservation than default t-SNE; deterministic given seed | Still distorts; n_neighbors small -> shattered; large -> homogenized |\n| PHATE (Moon 2019) | Continuous transitions, branching trajectories | k (knn), t (diffusion power) | Best for developmental trajectories; preserves transition geometry | Slower; less canonical for clustering display |\n| Diffusion map | Diffusion distance | epsilon, n_components | Theoretically motivated; supports pseudotime | Less visually striking; less commonly used |\n| MDS \u002F classical MDS | Global Euclidean distances | n_components, dissimilarity matrix | Honest about distance preservation | Computationally expensive >5000 points |\n| Isomap | Geodesic distance on knn graph | n_neighbors, n_components | Captures non-linear manifold | Sensitive to k; less popular than UMAP |\n| Force-directed (PAGA, ForceAtlas2) | Graph topology | Layout-specific | Best for connectivity (PAGA cluster graph) | Not for dense cells; aesthetic |\n\n## Decision Tree by Scenario\n\n| Scenario | Recommended | Why |\n|----------|-------------|-----|\n| Bulk RNA-seq sample QC | PCA on log-vst counts; show PC1 vs PC2 with metadata color | Variance explained is meaningful for batch detection |\n| Single-cell broad cluster overview | UMAP `n_neighbors=30, min_dist=0.3` after PCA(50) | Standard; preserves clusters; faster than t-SNE |\n| Single-cell with delicate trajectories | PHATE OR diffusion map | Preserves continuous transitions |\n| Cluster cardinality \u002F boundary visualization | t-SNE with PCA init, perplexity=50 (Kobak-Berens) | Crisper cluster separation than UMAP |\n| Multi-omics integration projection | MOFA factors + PCA, or UMAP of joint embedding | Per-omics projection often misleading |\n| Spatial transcriptomics with histology | UMAP for transcriptional axis; SEPARATE spatial scatter | UMAP collapses physical space |\n| Identify which genes drive variation | PCA biplot with loadings as arrows | Loadings are interpretable; UMAP\u002Ft-SNE has no loadings |\n| Demonstrating batch confound | PCA color by batch -- if PC1\u002FPC2 separates batches, batch is the dominant variance | UMAP can hide batch effect via local neighborhood preservation |\n| Visualizing 50 conditions | UMAP\u002Ft-SNE for nuance; faceted PCA for interpretability | Method choice depends on question |\n\n## PCA -- The Underused Workhorse\n\nPCA is interpretable, deterministic, and the loadings explain WHY samples cluster — UMAP\u002Ft-SNE cannot do this. For bulk RNA-seq sample QC, PCA is the right answer 90% of the time.\n\n**Goal:** Project samples into a low-dim space whose axes are linear combinations of features ordered by variance explained, then visualize PC1 vs PC2 colored by metadata.\n\n**Approach:** Variance-stabilize counts (DESeq2 `vst()` \u002F `rlog()`); run PCA on transposed expression matrix; annotate axes with variance-explained percentages; layer screeplot and loadings plot to support interpretation.\n\n```r\nlibrary(DESeq2)\nlibrary(PCAtools)\nlibrary(ggplot2)\nvsd \u003C- vst(dds, blind = FALSE)\np \u003C- pca(assay(vsd), metadata = as.data.frame(colData(dds)))\nbiplot(p, colby = 'condition', shape = 'batch', lab = NULL,\n       hline = 0, vline = 0,\n       legendPosition = 'right',\n       title = paste0('PCA: PC1 (', round(p$variance[1], 1), '%) vs PC2 (', round(p$variance[2], 1), '%)'))\nscreeplot(p, components = 1:10)\nloadings_plot \u003C- plotloadings(p, components = 1, rangeRetain = 0.05)\n```\n\n```python\nfrom sklearn.decomposition import PCA\nimport matplotlib.pyplot as plt\n\npca = PCA(n_components=10)\nX_pca = pca.fit_transform(X)\nvar = pca.explained_variance_ratio_\n\nfig, axes = plt.subplots(1, 2, figsize=(10, 4))\naxes[0].scatter(X_pca[:, 0], X_pca[:, 1], c=labels, alpha=0.7)\naxes[0].set_xlabel(f'PC1 ({var[0]*100:.1f}%)')\naxes[0].set_ylabel(f'PC2 ({var[1]*100:.1f}%)')\naxes[1].plot(range(1, 11), var, 'o-')\naxes[1].set_xlabel('PC')\naxes[1].set_ylabel('Variance explained')\n```\n\n**Always label axes with variance explained.** A PCA plot without `PC1 (45%)` annotation is unreadable. If PC1 = 5% and PC2 = 4%, apparent \"clusters\" may be noise.\n\n## t-SNE -- Kobak-Berens Modern Defaults\n\nDefault t-SNE (Maaten 2008) loses global structure. Kobak-Berens 2019 demonstrated that three changes recover it:\n\n1. **Initialize with PCA**, not random — `init='pca'` (openTSNE) or pre-compute PCA scores as init\n2. **High learning rate** — `learning_rate = n\u002F12` (n = number of points), not the default 200\n3. **Early exaggeration** — `exaggeration=12, early_exaggeration_iter=250` for large data\n\n```python\nimport openTSNE\nimport numpy as np\n\n# Kobak-Berens defaults\nembedding = openTSNE.TSNE(\n    perplexity=30,                          # 30-50 typical\n    n_iter=750,\n    initialization='pca',                   # NOT random\n    learning_rate=X.shape[0] \u002F 12,          # scales with n\n    n_jobs=-1,\n    random_state=42).fit(X)\n```\n\n```r\nlibrary(Rtsne)\nset.seed(42)\nts \u003C- Rtsne(X, perplexity = 30, theta = 0.5, pca_scale = TRUE,\n            initial_dims = 50, max_iter = 750)\n# Rtsne does not natively support PCA initialization; use external init via Y_init=\n```\n\n**Perplexity is the local-vs-global trade-off.** Low (5) -> local; high (100) -> global. 30-50 is standard for >1000 points.\n\n## UMAP -- Modern Defaults and the Random-Seed Trap\n\n```python\nimport umap\nreducer = umap.UMAP(\n    n_neighbors=30,        # local-global balance; 15-50 typical\n    min_dist=0.3,          # tightness of clusters; 0.1-0.5 typical\n    n_components=2,\n    metric='euclidean',\n    random_state=42)       # reproducibility\nembedding = reducer.fit_transform(X)\n```\n\n```r\nlibrary(uwot)\nset.seed(42)\num \u003C- umap(X, n_neighbors = 30, min_dist = 0.3, metric = 'euclidean')\n```\n\n```python\n# scanpy convention -- after sc.tl.pca, sc.pp.neighbors\nsc.pp.neighbors(adata, n_neighbors=30, n_pcs=50)\nsc.tl.umap(adata, min_dist=0.3, random_state=42)\nsc.pl.umap(adata, color='leiden', palette='tab20', frameon=False,\n           legend_loc='on data', legend_fontsize=7,\n           save='_clusters.pdf')\n```\n\n**`min_dist` controls tightness, NOT separation.** Smaller min_dist = tighter clusters. Does not change which cells cluster together — only how dense the rendering is.\n\n**`n_neighbors` controls local-vs-global.** Small n_neighbors = local fragmentation; large n_neighbors = clusters merge.\n\n**Random seed matters.** UMAP is deterministic given seed; without setting seed, results vary across runs. Always set `random_state` (umap-learn) or `seed=` (uwot).\n\n**scanpy.pl.umap save trap:** `save='_x.pdf'` writes to `sc.settings.figdir` (default `.\u002Ffigures\u002F`) with prefix `umap`, producing `figures\u002Fumap_x.pdf` — not the path specified. Default `dpi_save = 150` is below journal requirements.\n\n## PHATE -- For Continuous Trajectories\n\n```python\nimport phate\nphate_op = phate.PHATE(knn=10, decay=40, t='auto', n_jobs=-1, random_state=42)\nemb = phate_op.fit_transform(X)\nplt.scatter(emb[:, 0], emb[:, 1], c=pseudotime, cmap='viridis', s=5)\n```\n\nPHATE preserves transition geometry — for embryonic development, differentiation trajectories, or any continuous-state biology, PHATE is more faithful than UMAP. For discrete cell types, UMAP is fine.\n\n## Per-Method Failure Modes\n\n### Over-interpreting UMAP distances\n\n**Trigger:** Reading \"cluster A is closer to cluster B than to C\" as biological similarity.\n\n**Mechanism:** UMAP preserves local neighborhoods; global distances are NOT preserved (Chari-Pachter 2023).\n\n**Symptom:** Conclusion contradicts hierarchical clustering \u002F RNA velocity \u002F known biology.\n\n**Fix:** Validate inter-cluster relationships against high-dimensional metrics (correlation, distance in PCA space, RNA velocity).\n\n### t-SNE \u002F UMAP without random seed\n\n**Trigger:** Reproducibility request; figure differs between runs.\n\n**Mechanism:** Both methods use stochastic optimization; default seed varies.\n\n**Symptom:** Re-running the script produces visibly different layouts.\n\n**Fix:** Set `random_state=42` (umap-learn, sklearn) or `seed=42` (R uwot\u002FRtsne).\n\n### Perplexity too low for the data\n\n**Trigger:** Default t-SNE perplexity (30) on small dataset (\u003C500 points).\n\n**Mechanism:** Perplexity > n\u002F3 fails; cells artificially fragment.\n\n**Symptom:** Plot shows \"shattered\" small clusters that don't correspond to biology.\n\n**Fix:** For small n: perplexity = max(5, n\u002F30). For very large n: perplexity 50-100.\n\n### PCA without scaling\n\n**Trigger:** `prcomp(X)` or `PCA().fit(X)` without scaling rows\u002Fcolumns first.\n\n**Mechanism:** Genes with high absolute expression dominate variance; PCA captures library-size effect rather than biological variation.\n\n**Symptom:** PC1 perfectly correlates with library size or with total expression.\n\n**Fix:** Use `vst()` \u002F `rlog()` (DESeq2) or log + scale (`prcomp(X, scale.=TRUE)`). For single-cell, normalize then `sc.pp.scale_data`.\n\n### UMAP cluster shapes \"interpreted\" as biological signal\n\n**Trigger:** Reporting that a cluster is \"elongated\" or \"round\" as biological observation.\n\n**Mechanism:** UMAP cluster shape is an artifact of `min_dist` and `n_neighbors`, not biology.\n\n**Symptom:** Reviewer asks \"why is the immune cluster elongated?\"; no answer except the embedding.\n\n**Fix:** Do not interpret cluster shape. Report cluster membership and validate biology via marker genes.\n\n### scanpy.pl.umap save writes to figures\u002F subdirectory\n\n**Trigger:** `sc.pl.umap(adata, save='myplot.pdf')` with the expectation that myplot.pdf will land in the current directory.\n\n**Mechanism:** `save=` is concatenated with `sc.settings.figdir` (default `.\u002Ffigures\u002F`) and prefixed with `umap`.\n\n**Symptom:** File not at the requested path; actually at `figures\u002Fumapmyplot.pdf`.\n\n**Fix:** Set `sc.settings.figdir='\u002Fabs\u002Fpath\u002F'` AND `save='_descriptive.pdf'` so result is `figures\u002Fumap_descriptive.pdf`. For full path control use `matplotlib.savefig` after `sc.pl.umap(show=False)`.\n\n### Default DPI 150 below journal requirements\n\n**Trigger:** scanpy `sc.settings.set_figure_params()` default `dpi_save=150`.\n\n**Mechanism:** Nature\u002FCell require 300+ DPI for raster.\n\n**Symptom:** Figure looks fine on screen, rejected at submission.\n\n**Fix:** `sc.set_figure_params(dpi_save=300, figsize=(4, 4))`.\n\n### PCA loadings interpreted on UMAP\u002Ft-SNE coordinates\n\n**Trigger:** \"PC1 axis on UMAP\" — projecting loadings onto UMAP.\n\n**Mechanism:** UMAP\u002Ft-SNE coordinates have no linear interpretation; loadings are PCA-specific.\n\n**Symptom:** Conclusion about \"what UMAP-x means\" that has no foundation.\n\n**Fix:** Use PCA when loadings are needed. Show UMAP for visualization and PCA for axis-driving gene identification, separately.\n\n## Reconciliation: When Methods Disagree\n\n| Pattern | Likely cause | Action |\n|---------|--------------|--------|\n| t-SNE shows distinct clusters; UMAP merges them | t-SNE over-emphasizes local structure; UMAP n_neighbors too large | Both views valid; check Leiden cluster assignments rather than embedding |\n| PCA shows batch on PC1; UMAP hides it | UMAP preserves local neighborhood within each batch | Run UMAP only after batch correction; PCA is the canonical batch-effect diagnostic |\n| PHATE shows continuous trajectory; UMAP shows discrete clusters | PHATE preserves transitions; UMAP \"blobifies\" continuous data | Use PHATE for trajectory display; UMAP for discrete cell-type display |\n| Reproducibility breaks across re-runs | Random seed not set | Set seed; document version of umap-learn\u002FopenTSNE |\n| Cluster boundaries differ between Seurat\u002Fscanpy UMAP | Different defaults for n_neighbors, min_dist, init | Standardize hyperparameters; report explicitly |\n\n**Operational rule:** report ALL hyperparameters used (perplexity, n_neighbors, min_dist, random_state). State the embedding's interpretation limit (\"local neighborhood; distances between clusters not meaningful\"). For trajectory claims, validate with RNA velocity, pseudotime, or PHATE.\n\n## Quantitative Thresholds\n\n| Threshold | Value | Source |\n|-----------|-------|--------|\n| t-SNE perplexity | 30-50 for n>1000; max(5, n\u002F30) for n\u003C500 | Maaten 2008; Kobak-Berens 2019 |\n| UMAP n_neighbors | 15-50 default range | umap-learn docs; Becht 2018 |\n| UMAP min_dist | 0.1-0.5 | Tighter for crisp clusters, looser for continua |\n| t-SNE learning rate | n \u002F 12 (Kobak-Berens) | Default 200 over-shrinks large data |\n| PCA n_components for downstream UMAP | 30-50 | Standard scanpy workflow |\n| Single-cell n_neighbors for sc.pp.neighbors | 15-30 | Wolf 2018 Scanpy paper |\n| Save DPI for publication | 300+ | Nature\u002FCell figure guidelines |\n| Random seed | 42 (or any fixed integer) | Reproducibility |\n\n## Common Errors\n\n| Error \u002F symptom | Cause | Solution |\n|-----------------|-------|----------|\n| Plot differs between runs | Random seed not set | `random_state=42` always |\n| PC1 = library size | No scaling\u002Fnormalization | `vst()` or `log + scale` before PCA |\n| Cluster shapes \"interpreted\" biologically | UMAP artifact | Do not interpret shape; report membership |\n| scanpy save writes to wrong path | figdir + prefix concatenation | Set figdir explicitly OR use matplotlib.savefig |\n| t-SNE fragments small dataset | Perplexity too high for n | Use perplexity = max(5, n\u002F30) |\n| Inter-cluster \"distance\" used in trajectory claim | UMAP distances not meaningful | Validate with RNA velocity \u002F PHATE |\n| Loadings interpreted on UMAP axes | UMAP has no loadings | Use PCA for loading-driven interpretation |\n\n## Anticipated Reviewer Pushback\n\n| Pushback | Standard response |\n|----------|-------------------|\n| \"Why UMAP and not t-SNE?\" | UMAP for cluster overview (faster, better global preservation given Becht 2018); t-SNE in supplementary if cluster boundaries are the focus |\n| \"What hyperparameters?\" | Explicit n_neighbors, min_dist, n_pcs, random_state in caption AND methods |\n| \"Why is cluster X shaped this way?\" | UMAP\u002Ft-SNE cluster shape is an embedding artifact; cluster membership is the biological observation |\n| \"Are these trajectories real?\" | Validated via RNA velocity \u002F PHATE \u002F diffusion pseudotime (NOT inferred from UMAP layout alone) |\n| \"Why PCA?\" | Variance explained per axis is interpretable for sample QC; loadings identify driving genes (uniquely PCA, NOT UMAP) |\n\n## References\n\n- Becht E, McInnes L, Healy J, et al. 2019. Dimensionality reduction for visualizing single-cell data using UMAP. *Nat Biotechnol* 37(1):38-44.\n- Chari T, Pachter L. 2023. The specious art of single-cell genomics. *PLOS Comp Biol* 19(8):e1011288.\n- Kobak D, Berens P. 2019. The art of using t-SNE for single-cell transcriptomics. *Nat Commun* 10:5416.\n- McInnes L, Healy J, Melville J. 2018. UMAP: Uniform Manifold Approximation and Projection for dimension reduction. *arXiv:1802.03426*.\n- Moon KR, van Dijk D, Wang Z, et al. 2019. Visualizing structure and transitions in high-dimensional biological data. *Nat Biotechnol* 37(12):1482-1492.\n- van der Maaten L, Hinton G. 2008. Visualizing data using t-SNE. *J Mach Learn Res* 9:2579-2605.\n- Wolf FA, Angerer P, Theis FJ. 2018. SCANPY: large-scale single-cell gene expression data analysis. *Genome Biol* 19:15.\n\n## Related Skills\n\n- single-cell\u002Fpreprocessing - PCA \u002F neighbor-graph computation before embedding\n- single-cell\u002Fclustering - Leiden \u002F Louvain cluster assignments visualized in UMAP\n- single-cell\u002Ftrajectory-inference - PHATE, diffusion pseudotime, RNA velocity for trajectory claims\n- data-visualization\u002Fcolor-palettes - Categorical palette for cluster labels\n- data-visualization\u002Fdistribution-plots - Per-cluster gene-expression follow-up\n- data-visualization\u002Fheatmaps-clustering - Alternative view of the same high-dim matrix\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","mixed","2026-09-20","data-visualization\u002Fdimensionality-reduction-plots\u002FSKILL.md","scanpy","GPTomics\u002FbioSkills","main","2d1750717747097b602acf30bd09a7cbd4b4c6ea","awesome_skills\u002Fbiology\u002Fbio-data-visualization-dimensionality-reduction-plots","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-data-visualization-dimensionality-reduction-plots",{"tool":42,"command":43},"bunx","bunx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill bio-data-visualization-dimensionality-reduction-plots",{"tool":45,"command":46},"pnpm","pnpm dlx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill bio-data-visualization-dimensionality-reduction-plots","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-data-visualization-dimensionality-reduction-plots\u002FSKILL.md",true,[50,56],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"examples\u002Fembedding_phd.py","SCRIPT","脚本",3851,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-data-visualization-dimensionality-reduction-plots\u002Fexamples\u002Fembedding_phd.py",{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":61},"usage-guide.md","REFERENCE","参考文档",5091,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-data-visualization-dimensionality-reduction-plots\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",[],[]]