Skip to contents

ggchord provides an S3 method for plotly::ggplotly() so that chord diagrams built with ggchord() (including plots that combine the ribbon and the gene layers) can be converted to interactive plotly charts. The conversion first renders the computed geometry with standard ggplot2 layers whose colors are pre-mapped, then delegates to plotly::ggplotly().

Usage

# S3 method for class 'ggchord'
ggplotly(p, ...)

Arguments

p

A ggchord plot object created with ggchord().

...

Additional arguments passed to plotly::ggplotly().

Value

A plotly object.