本仓库用于存放王诗翔副教授在中南大学生物医学信息系的课程材料。
🌐 在线访问: https://wanglabcsu.github.io/courses/
|
王诗翔 副教授
|
| 课程 | 学时 | 对象 | 链接 |
|---|---|---|---|
| R与(R)Markdown基础 | 4学时 | 本科生/研究生 | 进入课程 |
课程网站使用 GitHub Pages 自动部署:
🔗 https://wanglabcsu.github.io/courses/
# 克隆仓库
git clone https://github.com/WangLabCSU/courses.git
cd courses
# 使用构建脚本(构建根目录+所有课程)
./build.sh
# 预览
cd _site && python3 -m http.server 8000# 1. 构建根目录
quarto render index.qmd
# 2. 构建各个课程
cd r-and-rmarkdown && quarto render && cd ..
# 3. 组织输出(复制到_site目录)
mkdir -p _site
cp index.html _site/
cp -r r-and-rmarkdown/_site _site/r-and-rmarkdowncourses/ # Git根目录(可直接部署)
├── _quarto.yml # 根目录站点配置
├── index.qmd # 课程总览主页
├── license.qmd # 许可证
├── build.sh # 本地构建脚本
├── .github/
│ └── workflows/
│ └── deploy.yml # GitHub Actions自动部署
├── styles/ # 共享样式
├── logo/ # 共享资源
│
├── r-and-rmarkdown/ # 课程1:R与R Markdown
│ ├── _quarto.yml # 课程配置
│ ├── index.qmd # 课程主页
│ ├── slides/ # 幻灯片
│ ├── labs/ # 实验手册
│ └── ...
│
└── [future-courses]/ # 未来课程(转录组、基因组等)
└── ...
- R与(R)Markdown基础(4学时)
- 转录组数据分析(规划)
- 基因组突变分析(规划)
仓库已配置 .github/workflows/deploy.yml,推送代码后自动:
- 构建根目录网站(课程总览)
- 构建所有子课程
- 合并输出到
_site/目录 - 部署到 GitHub Pages
直接复制 _site/ 目录到服务器即可:
# 本地构建
./build.sh
# 复制到服务器
scp -r _site/* user@server:/var/www/html/courses/
# 或使用 rsync
rsync -avz _site/ user@server:/var/www/html/courses/# 复制整个 _site 目录到学生机
# 学生用浏览器打开 index.html 即可所有链接使用相对路径,可完全离线使用。
欢迎提交 Issue 和 Pull Request 来改进课程内容!
本仓库使用AI助手协助维护,规范详见 AGENTS.md。
- 创建课程目录:
mkdir new-course - 复制
_quarto.yml模板并修改 - 创建
index.qmd,syllabus.qmd等 - 在根目录
index.qmd中添加课程卡片 - 更新
build.sh中的课程列表
- https://sunpast.github.io/r4ds/
- https://github.com/WangLabCSU/R_for_Data_Science https://bookdown.org/wangminjie/R4DS/
- https://github.com/WangLabCSU/Curated-List
- https://github.com/WangLabCSU/raukr-2024
- https://github.com/NBISweden/raukr-2025
- https://github.com/NBISweden/raukr-2026
- https://github.com/NBISweden/workshop-ngsintro
- https://github.com/NBISweden/workshop-RNAseq
- https://github.com/NBISweden/workshop-scRNAseq
- https://github.com/WangLabCSU/bioc-rnaseq
- https://github.com/WangLabCSU/workshop-RNAseq
- https://github.com/WangLabCSU/bioc-project
- https://github.com/WangLabCSU/RBiocBook
- https://github.com/WangLabCSU/BS831
- https://github.com/WangLabCSU/lincs-workshop-2020
- https://www.math.pku.edu.cn/teachers/lidf/docs/Rbook
本仓库内容采用双许可:
- 教学内容:知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议 (CC BY-NC-SA 4.0)
- 示例代码:MIT License
中南大学 · Department of Biomedical Informatics
Central South University
