Skip to contents

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

Usage

read.fastq_to_df(fastq_file)

Arguments

fastq_file

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

Value

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

Examples


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

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