addBamData {rnaSeqMap} | R Documentation |
Add data from experimental samples stored in BAM file.
addBamData(rs, file, exp, phenoDesc=NULL)
rs |
SeqReads object to modify |
file |
BAM file to read |
exp |
Numbers of sample slot in the object |
phenoDesc |
A vector to add to phenoData |
SeqReads object with samples added from the BAM files. List of BAM files comes from the covdesc. The covdesc content becomes phenoData of the object.
Michal Okoniewski, Anna Lesniewska
# if (xmapConnected()) # { # rs <- newSeqReads(1,1,20000,1) # rs <- addBamData(rs,1:3) # }