Adjusts for colors of plot: three options: 1) all red, in not info provided 2) uses user-provided color vector (eg "color" column from GInteractions object) 3) If user selects region of interest, this function still plots other interactions around, but only in grey, whereas identified interaction supposed to be red
1 | setColors(x, coloring)
|
IngaPa
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.