getAlignments: Return Alignments

Description Usage Arguments Details Value Examples

Description

Return alignments from a class which contains alignments.

Usage

1
  getAlignments(h5Obj, ...)

Arguments

h5Obj

An object containing alignments.

...

Extra arguments – See the particular class documentation for specific methods.

Details

Currently, alignments are two column matrices of mode character.

Value

A list of alignment matrices.

Examples

1
2
3
4
5
  require(pbh5)
  cmpH5 <- PacBioCmpH5(system.file("h5_files",  "aligned_reads.cmp.h5", package = "pbh5"))
  nucleotideSeq <- getAlignments(cmpH5)
  class(nucleotideSeq)
  head(nucleotideSeq[[1]])

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