Skip to content

Commit

Permalink
s
Browse files Browse the repository at this point in the history
  • Loading branch information
lixin4306ren committed May 6, 2017
1 parent b68ad1c commit ce0c59c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ save(txi,file="txi.rda") #txi.rda保存结果用于后续基因表达
```

# 使用rmarkdown生成html报告
`/home/others/xli/RNA-Seq2`目录下数据为例。
安装`knitr`包:
```
install.packages('knitr', dependencies = TRUE)
Expand All @@ -84,6 +85,17 @@ biocLite("KEGGgraph")
biocLite("org.Mm.eg.db")
```

准备样品信息文件`sample2.list`,格式如下:
```
sample condition
lane1-1 T
lane1-2 T
lane1-3 T
lane1-4 W
lane1-5 W
lane1-6 W
```

运行rmarkdown报告模版:
```
/opt/apps/R/bin/R -e "rmarkdown::render('rnaseq_report.Rmd')"
Expand Down

0 comments on commit ce0c59c

Please sign in to comment.