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

Description Usage Arguments Value Examples

View source: R/dimensions.R

Description

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

Usage

1
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

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

qckitfastq documentation built on Nov. 8, 2020, 5:24 p.m.