Skip to content

Commit 9dbc487

Browse files
committed
add GCE report template
1 parent c72548c commit 9dbc487

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

inst/templates/Gce.Rmd

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
title: "GCE"
3+
author: "Functional Genomics Center Zurich"
4+
output:
5+
html_document:
6+
self_contained: false
7+
includes:
8+
in_header: fgcz_header.html
9+
css: fgcz.css
10+
---
11+
12+
```{r setup, include=FALSE}
13+
knitr::opts_chunk$set(echo = FALSE)
14+
library(ezRun)
15+
## debug
16+
#title: "`r paste(:'PBSV', params$sample`)"
17+
#wddir <- "/srv/GT/analysis/qiwei/DNA-seq-202305/project3/sample_1"
18+
wddir <- "."
19+
#params = list(sample="sample_1")
20+
## end of debug
21+
```
22+
23+
## Result {.tabset}
24+
25+
### Genome Size
26+
27+
```{r sample, echo=FALSE, message=FALSE}
28+
params$sample
29+
```
30+
31+
```{r gs, echo=FALSE, message=FALSE}
32+
dat.file <- file.path(wddir, paste0(params$sample,".kmer.freq.stat.final.genomic.characters"))
33+
dat <- readLines(dat.file)
34+
library(knitr)
35+
cat(dat[c(19:22)], sep = '\n')
36+
```
37+
38+
### kmer frequency plot
39+
![kmer frequency plot](`r file.path(wddir, paste0(params$sample,".kmer.freq.stat_real_theory_distribution.png"))`)
40+
41+
### SessionInfo
42+
```{r, echo=FALSE}
43+
ezSessionInfo()
44+
```

0 commit comments

Comments
 (0)