Views
No views yet
This repository hosts the code snapshot / repo card for YuanSeq on Hugging Face.
It is not a pretrained model checkpoint.
.rds resources and image assets were excluded from this Hub exportNote: the Hugging Face export may omit some local binary resources. For the complete runnable project, prefer the GitHub repository.
1git clone https://github.com/Passpoor/Xseq0.1.git
2cd Xseq0.11install.packages(c("shiny", "shinyjs", "bslib", "ggplot2", "dplyr", "DT",
2 "pheatmap", "plotly", "colourpicker", "shinyWidgets", "rlang",
3 "tibble", "tidyr", "ggrepel", "RColorBrewer", "VennDiagram", "grid", "gridExtra"))
4
5if (!require("BiocManager", quietly = TRUE)) install.packages("BiocManager")
6BiocManager::install(c("edgeR", "limma", "AnnotationDbi", "clusterProfiler",
7 "org.Mm.eg.db", "org.Hs.eg.db", "GseaVis", "enrichplot", "decoupleR", "sva"))
8
9# KEGG 本地富集(可选,推荐从 GitHub 安装)
10remotes::install_github("Passpoor/biofree.qyKEGGtools", upgrade = "never")shiny::runApp("app.R")launch_app.R、run_app.bat / run_app.sh。| 类别 | 包名 | 用途 |
|---|---|---|
| 框架与 UI | shiny, shinyjs, bslib, DT, plotly, colourpicker, shinyWidgets | 应用框架与交互界面 |
| 差异分析 | edgeR, limma | RNA-seq / 芯片差异表达 |
| 注释与富集 | AnnotationDbi, org.Mm.eg.db, org.Hs.eg.db, clusterProfiler, enrichplot, GseaVis | 基因注释、GO/KEGG/GSEA 富集与可视化 |
| KEGG 本地 | biofree.qyKEGGtools | 本地 KEGG 富集(可选) |
| 通路与 TF | decoupleR | 通路活性、转录因子活性推断 |
| 可视化 | ggplot2, pheatmap, ggrepel, RColorBrewer, VennDiagram, grid, gridExtra | 图表与排版 |
| 数据处理 | dplyr, tibble, tidyr, rlang, later | 数据整理与异步 |
├── app.R # 主入口
├── config/ # 配置
├── modules/ # Shiny 模块
│ ├── ui_theme.R # 主题与布局
│ ├── data_input.R # 数据上传与注释
│ ├── differential_analysis.R
│ ├── kegg_enrichment.R
│ ├── gsea_analysis.R
│ ├── pathway_activity.R # 通路活性推断
│ ├── tf_activity.R
│ └── venn_diagram.R
├── workflow/ # 工作流脚本
├── tests/ # 测试
└── docs/ # 文档