make_circos_plot: Draw a circos plot

make_circos_plotR Documentation

Draw a circos plot

Description

Draw a circos plot

Usage

make_circos_plot(vis_circos_obj, transparency = FALSE, args.circos.text = list(), ...)

Arguments

vis_circos_obj

Object returned by prepare_circos_visualization

transparency

Logical indicating whether the transparency of the links will correspond to the ligand-target potential score (default: FALSE)

args.circos.text

List of arguments to pass to circos.text (by default, the text size is set to 1)

...

Additional arguments to pass to chordDiagram

Value

A circos plot

Examples

## Not run: 
# Default
make_circos_plot(vis_circos_obj, transparency = FALSE)

# Transparency
make_circos_plot(vis_circos_obj, transparency = TRUE)

# Make text smaller
make_circos_plot(vis_circos_obj, transparency = TRUE, args.circos.text = list(cex = 0.5))

# Don't sort links of each ligand based on widths (not recommended)
make_circos_plot(vis_circos_obj, transparency = TRUE, args.circos.text = list(cex = 0.5), link.sort = FALSE)

## End(Not run)

browaeysrobin/nichenetr documentation built on Sept. 9, 2024, 11:25 a.m.