Skip to contents

Plots ptw alignments.

Usage

# S3 method for class 'ptw_list'
plot(
  x,
  what = c("traces", "heatmap"),
  engine = c("base", "ggplot", "plotly"),
  lambdas,
  show_legend = TRUE,
  ...
)

Arguments

x

A ptw_list object created by correct_rt.

what

What type of plot to return. Either traces or heatmap.

engine

What plotting engine to use. Either base, ggplot or plotly

lambdas

Which lambdas to plot.

show_legend

Logical. Whether to include sample legend.

...

Additional arguments (placeholder).

Author

Ethan Bass

Examples

if (FALSE) { # interactive()
data(Sa_pr)
warp <- correct_rt(chrom_list = Sa_pr, what = "models", lambdas = 210)
plot(warp)
}