doDownsample: Generates a downsampled FASTQ or BAM data set

Description Usage Arguments Value Author(s)

Description

Generates a downsampled FASTQ or BAM data set.

Usage

1
2
3
4
5
  doDownsample(...)
  ## S3 method for class 'BamDataSet'
doDownsample(dataSet, subset=1e+06, ..., verbose=FALSE)
  ## S3 method for class 'FastqDataSet'
doDownsample(dataSet, subset=1e+06, ..., verbose=FALSE)

Arguments

dataSet

A BamDataSet or FastqDataSet.

subset

An integer specifying the total number of reads to sample, or a double specifying the fraction of total number of reads to sample.

...

Additional arguments passed to specific downsampler, e.g. BamDownsampler and FastqDownsampler.

verbose

See Verbose.

Value

Returns a GenericDataFileSet of the same class as the input data set dataSet.

Author(s)

Henrik Bengtsson


HenrikBengtsson/aroma.seq documentation built on Feb. 15, 2021, 2:21 a.m.