Skip to contents

This function reads a Fastq file and stores it as a list with three columns: Header, Sequence, and QualityScore.

Usage

read.fastq_to_list(fastq_file)

Arguments

fastq_file

A character string specifying the path to the Fastq file to be read.

Value

This function returns a list with three columns: Header, Sequence, and QualityScore.

Examples

# \donttest{
# Read in sequences from a FASTQ file

sample_file_path_two <- system.file("extdata", "sample_fq.fastq", package = "baseq")

read.fastq_to_list(sample_file_path_two)
#> File C:/Users/BSL CTCRI/AppData/Local/Temp/RtmpYlDm86/temp_libpath49301e5117b7/baseq/extdata/sample_fq.fastq assigned as a list with name sample_fq

# }