countReadsInFastq: Counts reads in FastQ files

View source: R/fastqIO.R

countReadsInFastqR Documentation

Counts reads in FastQ files

Description

Counts reads in FastQ files and returns the amount for each file.

Usage

countReadsInFastq(fastqFiles)

Arguments

fastqFiles

a character vector representing file paths to FastQ files.

Value

Returns a named numeric vector

Author(s)

Rehrauer, Hubert

Schmid, Peter

Examples

file = system.file("extdata/yeast_10k/dataset.tsv", package="ezRun", mustWork = TRUE)
param = list()
param$dataRoot = system.file(package="ezRun", mustWork = TRUE)
input = EzDataset$new(file=file, dataRoot=param$dataRoot)
fqFiles = input$getFullPaths("Read1")
result = countReadsInFastq(fqFiles)

uzh/ezRun documentation built on April 24, 2024, 4:01 p.m.