headerLine-class: Class '"headerLine"': Representation of header line segment...

Description Objects from the Class Slots Methods Author(s) Examples

Description

headerLine represents the header Line segment of header section.

Objects from the Class

Objects can be created by calls of the form hl<-new("headerLine").

Slots

SO:

character

VN:

character

Methods

getHeaderText

signature(x = "bamRange"): Retrieve textual representation of header

getVal

signature(object = "bamRange"): Retrieving values for given item names.

setVal

signature(object = "bamRange"): Setting values for given item names.

as.list

signature(.Object = "bamRange"): Coercing of data into a list

Author(s)

Wolfgang Kaisers

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
bam<-system.file("extdata","accepted_hits.bam",package="rbamtools")
reader<-bamReader(bam)
header<-getHeader(reader)
htxt<-getHeaderText(header)
headLine<-headerLine(htxt)
getVal(headLine,"VN")
getVal(headLine,"SO")
setVal(headLine,"SO","unsorted")
l<-as.list(headLine)
txt<-getHeaderText(headLine)
bamClose(reader)

rbamtools documentation built on May 30, 2017, 3:26 a.m.