Learn R Programming

baseq (version 0.1.4)

read.fastq_to_list: Read a Fastq file and store it as a list

Description

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)

Value

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

Arguments

fastq_file

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

Examples

Run this code
# \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)
# }

Run the code above in your browser using DataLab