Learn R Programming

easyRNASeq (version 2.8.2)

easyRNASeq BamParam constructor: BamParam constructor

Description

This constructs a BamParam object. The default parameters are derived from the currently most common RNA-Seq experimental use-case and are detailed below:
  • paired is TRUE,i.e.paired-end sequencing is expected.
  • stranded is FALSEi.e.stranded sequencing is not expected.
  • yieldSize is set to 1,000,000. This is the amount of reads iteratively processed from the bam file stream. It is a compromise between speed, process-parallelization and memory usage.

Usage

## S3 method for class 'ANY':
BamParam(paired = TRUE, stranded = FALSE,
  yieldSize = 1000000L)

Arguments

paired
TODO
stranded
TODO
yieldSize
TODO

Details

Calling the constructor without argument result in the default parameter described above to be returned. Calling the constructor with any parameter will affect the value of the selected parameters, leaving the other parameters unaffected.

Examples

Run this code
## the defaults
BamParam()

## change the default
BamParam(paired=FALSE)
BamParam(stranded=TRUE,yieldSize=1L)

Run the code above in your browser using DataLab