R/run_fastqc.R

Defines functions run_fastqc

Documented in run_fastqc

#' Function to run fastqc program on the supplied file
#'
#' @param filepath Path to fastq file
#'
#' @return
#' @export
#'
#' @examples
#' run_fastqc("~/example.fastq")
run_fastqc = function(filepath, outdir) {
  command = paste0("/FastQC/fastqc ", filepath, " --outdir ", outdir)
  system(command)
}
uashogeschoolutrecht/structural_colours documentation built on June 20, 2020, 4:07 p.m.