dimensions {qckitfastq}R Documentation

Extract the number of columns and rows for a FASTQ file using seqTools.

Description

Extract the number of columns and rows for a FASTQ file using seqTools.

Usage

dimensions(fseq, sel)

Arguments

fseq

an object that is the read result of the seq.read function

sel

'reads' for #reads/rows, 'positions' for #positions/columns

Value

a numeric value of the number of reads or the number of positions

Examples


infile <- system.file("extdata","10^5_reads_test.fq.gz",
    package = "qckitfastq")
fseq <- seqTools::fastqq(infile,k=6)
dimensions(fseq,"reads")


[Package qckitfastq version 1.9.0 Index]