R/knitr-methods.R

Defines functions getReportName

## knitr-method.R -- new report generation using knitr

getReportName <- function(x) {
  strsplit(basename(x@filename), '.', fixed=TRUE)[[1]][1]
}

## setMethod("makeReport", signature(x="FASTQSummary"),
## # Given a FASTQ object, knit a report          
## function(x, output=c("pdf", "html")) {
##   stitch()
## })

Try the qrqc package in your browser

Any scripts or data that you put into this service are public.

qrqc documentation built on Nov. 8, 2020, 7:03 p.m.