View source: R/get_objects_run_hourglass.R
get_colors | R Documentation |
Get color palette for all rowAnn variables for use by run_hourglass function from input Excel file.
get_colors(file_xl, sheet = "Colors")
file_xl |
Excel file (.xlsx) containing user options for hourglass run. |
sheet |
Name of worksheet in file_xl containing table where column 1 is variables and column 2 is hex code |
List of colors, where elements are hex codes and element names are variables. As a result of "cleaning", element names don't have 2 parts, are duplicated, and is white e.g. list("Tumour"="#2f4f4Fff", "Stroma"="#d2691eff")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.