create_obj_list: Create a list of TraceQC objects from a list

create_obj_listR Documentation

Create a list of TraceQC objects from a list

Description

Create a list of TraceQC objects from a list

Usage

create_obj_list(samples, ref, ncores = 4)

Arguments

samples

A list that contains FASTQ file path.

ref

The path to the reference file.

ncores

The number of cores for parallel processing.

Value

It returns a list of TraceQC object

Examples

## Not run: 
samples <- list(
  "day00" = system.file("extdata", "test_data", "fastq",
                        "example_0d.fastq.gz", package="TraceQC"),

  "day02" = system.file("extdata", "test_data", "fastq",
                        "example_2d.fastq.gz", package="TraceQC"),

  "day14" = system.file("extdata", "test_data", "fastq",
                        "example_14d.fastq.gz", package="TraceQC")
)

ref <- system.file("extdata", "test_data", "ref",
                   "ref.txt", package="TraceQC")

obj_list <- create_obj_list(samples, ref)

## End(Not run)

LiuzLab/TraceQC documentation built on April 19, 2022, 1:29 p.m.