collectDur {seqTools}R Documentation

collectDur: Returning elapsed time (in seconds) for collection of data from FASTQ files.

Description

Objects of class Fastqq are created by reading data from FASTQ-files using the function fastqq. The fastqq function calls Sys.time() before and after execution of the core collecting routine. collectDur returns the number of seconds between these two times (as numeric value). collectTime returns the two timestamps inside a list.

Usage

collectDur(object)
collectTime(object)

Arguments

object

Fastqq. Object from which collection duration (or times) is returned.

Value

collectTime returns numeric. collectTime returns list.

Author(s)

Wolfgang Kaisers

See Also

fastqq

Examples

basedir <- system.file("extdata", package="seqTools")
setwd(basedir)
fq<-fastqq(c("g4_l101_n100.fq.gz", "g5_l101_n100.fq.gz"), k=4,
            probeLabel=c("g4", "g5"))

collectTime(fq)
collectDur(fq)

[Package seqTools version 1.24.0 Index]