View source: R/qc_read_collection.R
qc_read_collection | R Documentation |
A wrapper function around qc_read to read multiple FastQC data files at once.
qc_read_collection(files, sample_names, modules = "all", verbose = TRUE)
files |
A |
sample_names |
A |
modules |
Character vector containing the names of FastQC modules for which you want to import/inspect the data. Default is all. Allowed values include one or the combination of:
Partial match of module names allowed. For example, you can use modules = "GC content", instead of the full names modules = "Per sequence GC content". |
verbose |
logical value. If TRUE, print filename when reading. |
A list
of tibbles
containing the data of specified modules form each file.
Mahmoud Ahmed, mahmoud.s.fahmy@students.kasralainy.edu.eg
# extract paths to the demo files qc.dir <- system.file("fastqc_results", package = "fastqcr") qc.files <- list.files(qc.dir, full.names = TRUE)[1:2] nb_samples <- length(qc.files) # read a specified module in all files # To read all modules, specify: modules = "all" qc <- qc_read_collection(qc.files, sample_names = paste('S', 1:nb_samples, sep = ''), modules = "Per base sequence quality")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.