Description Objects from the Class Slots Methods Author(s) References Examples
headerProgram represents data contained in the header section of BAM-files.
Objects can be created by calls of the form hl<-new("headerProgram")
.
l
:list
signature(x = "headerProgram")
:
Converts data in object into list.
signature(object = "headerProgram")
:
Returns value of given Segment.
signature(object = "headerProgram")
:
Sets value of given segment.
signature(.Object = "headerProgram")
:
Returns textual representation of data as specified in SAM
File Format.
Wolfgang Kaisers
The SAM Format Specification (v1.4-r985).
The SAM Format Specification Working Group. September 7, 2011.
1 2 3 4 5 6 7 8 9 10 11 | bam <- system.file("extdata", "accepted_hits.bam", package="rbamtools")
reader<-bamReader(bam)
isOpen(reader)
header<-getHeader(reader)
htxt<-getHeaderText(header)
headProg<-headerProgram(htxt)
getVal(headProg,"PN")
setVal(headProg,"PN","bwa")
l<-as.list(headProg)
ht<-getHeaderText(headProg)
bamClose(reader)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.