getBarcodeLabels: Retrieve Barcode Information from PacBioCmpH5

Description Usage Arguments Examples

Description

Retrieves the available barcode information from a file. In order for this to work the file has to be produced using a barcode-based workflow - this is not common.

Usage

1
  getBarcodeLabels(cmpH5, idx = 1:nrow(cmpH5), mode = NA)

Arguments

cmpH5

Object of PacBioCmpH5

idx

Index vector ranging from 1 to nrow(cmpH5)

mode

The scoring mode to return, this is generally predetermined, but can be overidden here

Examples

1
2
3
4
5
6
7
8
  require(pbh5)
  gc()
  cmpH5 <- PacBioCmpH5(system.file("h5_files",  "aligned_reads.cmp.h5",
  package = "pbh5"))
  ## Not run: 
    table(getBarcodeLabels(cmpH5))
  
## End(Not run)

PacificBiosciences/R-pbh5 documentation built on May 7, 2019, 11:54 p.m.