Skip to contents

Generates a visualization of a recapitulated graph object

Usage

plotGraph(object, ...)

# S4 method for PHGDataSet
plotGraph(
  object,
  samples = NULL,
  sampleHighlight = NULL,
  seqnames = NULL,
  start = NULL,
  end = NULL,
  colMajor = "maroon",
  colMinor = "lightgrey"
)

Arguments

object

A PHGDataSet object

...

Additional parameters to pass for ref range inclusion

samples

Samples/taxa to include in plot

sampleHighlight

Sample path to highlight

seqnames

A sequence (e.g. chromosome) ID

start

Start position for ref ranges

end

End position for ref ranges

colMajor

Highlight path color

colMinor

Muted path color