getZScore: Compute the Z-Score

Description Usage Arguments Value Examples

Description

'getZScore' computes the Z-score for each alignment. Z-score is generally an internal metric within Pacific Biosciences and might very well not exist in external cmp.h5 files.

Usage

1
getZScore(cmpH5, idx = seq.int(1, nrow(cmpH5)))

Arguments

cmpH5

An object of class PacBioCmpH5.

idx

The indices of the alignments to retrieve.

Value

'getZScore' is returned as a vector of numbers.

Examples

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

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