Learn R Programming

baseq (version 0.1.4)

read.fastq_to_df: Read a Fastq file and store it as a dataframe

Description

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)

Value

This function returns a dataframe 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_df(sample_file_path_two)
# }

Run the code above in your browser using DataLab