addBamData: addBamData - getting sample data from BAM file.

Description Usage Arguments Value Author(s) Examples

View source: R/SeqReads.R

Description

Add data from experimental samples stored in BAM file.

Usage

1
addBamData(rs, file, exp, phenoDesc=NULL)

Arguments

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

Value

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.

Author(s)

Michal Okoniewski, Anna Lesniewska

Examples

1
2
3
4
5
#  if (xmapConnected())  
#  {
#    rs <- newSeqReads(1,1,20000,1)
#    rs <- addBamData(rs,1:3)
#  }


rnaSeqMap documentation built on May 20, 2017, 10:20 p.m.
Search within the rnaSeqMap package
Search all R packages, documentation and source code

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

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

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