getConsensusForIdxs: Return Consensus For Indices

Description Usage Arguments Value Examples

Description

Get the consensus sequence from the indices.

Usage

1
  getConsensusForIdxs(cmpH5, idx = 1:nrow(cmpH5))

Arguments

cmpH5

An object of class PacBioCmpH5.

idx

The indices of the alignments to return.

Value

Returns a vector of characters.

Examples

1
2
3
4
  require(pbh5)
  cmpH5 <- PacBioCmpH5(system.file("h5_files",  "aligned_reads.cmp.h5",
  package = "pbh5"))
  head(getConsensusForIdxs(cmpH5))

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