View source: R/get_side_colors.R
| get_side_colors | R Documentation |
get_side_colors is a helper function used in the heatmap_generator function that creates a create a sidecolor object from a sample info matrix-like object and a list of tracks.
get_side_colors(
sampInfo,
sampleTracks = names(sampInfo),
colorlists = c("gray94", "blue", "green", "yellow", "orange", "red", "black"),
displaynames = as.list(sampleTracks),
drop.levels = FALSE
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.