#' assignPrep
#'
#' This function extract the preparation method from
#' a filename
#'
#' @param x1: \code{filename}
#'
#' @return y1: enzymename
#'
#'
#' @export
#'
assignPrep <- function(filename){
ifelse(grepl('Error',filename),'Corrected','Raw reads')
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.