Learn R Programming

seqTools (version 1.6.0)

collectDur: 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

returns numeric. collectTime returns list.

See Also

fastqq

Examples

Run this code
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)

Run the code above in your browser using DataLab