Description Usage Arguments Value Author(s)
Format input data to plot with ipath
1 2 3 4 | create_ipath_data(data, id_column, color_column = NA,
width_column = NA, opacity_column = NA, min_path_width = 3,
max_path_width = 10, color_type = "discrete", color_cutoff = 0,
pallete = "RdBu")
|
data |
input data.frame |
id_column |
name of the column containing ids to plot on the ipath map. Must be one of the supported data types and in the correct format (see: https://pathways.embl.de/help.cgi) |
color_column |
name of the column containing values to vary colors in the ipath plot |
width_column |
name of the column containing values to vary width in the ipath plot |
opacity_column |
name of the column containing values to vary opacity in the ipath plot |
min_path_width |
minimum width of paths with a match |
max_path_width |
maximum width of paths with a match. Default width for when no wwidth_column is provided. |
color_type |
type of color palette to map values to (discrete or continous) |
color_cutoff |
value which seperates values into higher or lower for discrete color mapping |
palette |
RColorBrewer pallete name |
data.frame formatted for sending to ipath
Beth Signal
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.