knitr::opts_chunk$set(echo = FALSE) library(ezRun) ## debug #title: "`r paste(:'PBSV', params$sample`)" #wddir <- "/srv/GT/analysis/qiwei/DNA-seq-202305/project3/sample_1" wddir <- "." #params = list(sample="sample_1") ## end of debug
params$sample
dat.file <- file.path(wddir, paste0(params$sample,".kmer.freq.stat.final.genomic.characters")) dat <- readLines(dat.file) library(knitr) cat(dat[c(19:22)], sep = '\n')
svg.file <- file.path(wddir, paste0(params$sample,".kmer.freq.stat_real_theory_distribution.svg")) png.file <- file.path(wddir, paste0(params$sample,".kmer.freq.stat_real_theory_distribution.png")) library(rsvg) rsvg_png(svg.file, png.file)
ezSessionInfo()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.