getPkmid: Computes the Pkmid Values

Description Usage Arguments Details Value Examples

Description

'getPkmid' computes the Pkmid values, a component of Nignal to Noise Ratio (SNR). A vector of Pkmid values is computed for each alignment in the cmph5 file.

Usage

1
getPkmid(cmpH5, idx)

Arguments

cmpH5

An object of class PacBioCmpH5.

idx

The indices of the alignments to retrieve.

Details

Pkmid values are calculated from Pulse Sigma and Baseline Sigma values.

Value

'getPkmid' returns a list of vectors with numeric values.

Examples

1
2
3
4
5
6
7
8
9
  ## Not run: 
  require(pbh5)
  cmpH5 <- PacBioCmpH5(system.file("h5_files",  "aligned_reads.cmp.h5",
  package = "pbh5"))
  pkmid <- getPkmid(cmpH5, idx = 1:10)
  boxplot(pkmid,
  main = "Distribution of Pkmid values for the first ten alignments")
 
## End(Not run)

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