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)


Search within the rbamtools package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.