R/makeReport.R

Defines functions makeReport

Documented in makeReport

#' Create report from 'ChemProtSet' object
#'
#' Genereate a report that includes several plots and descriptions for an experiment that has been anaylsed using Doscheda
#'
#' @param x Object of class 'ChemoProtSet'
#'
#' @return html report of processed `ChemoProtSet` object
#' @export
#' @examples
#'\dontrun{
#' ex<- new('ChemoProtSet')
#' makeReport(ex)
#'}
makeReport <- function(x) {
    
    temp <- system.file("rmd/report.Rmd", package = "Doscheda")
    params <- list(object = x)
    rmarkdown::render(temp, output_file = "report.html", output_dir = ".", params = params, envir = new.env())
    
}

Try the Doscheda package in your browser

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

Doscheda documentation built on Nov. 8, 2020, 5:37 p.m.