get_side_colors: Get Side Colors

View source: R/get_side_colors.R

get_side_colorsR Documentation

Get Side Colors

Description

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.

Usage

get_side_colors(
  sampInfo,
  sampleTracks = names(sampInfo),
  colorlists = c("gray94", "blue", "green", "yellow", "orange", "red", "black"),
  displaynames = as.list(sampleTracks),
  drop.levels = FALSE
)

rmoffitt/aged documentation built on Aug. 11, 2022, 7:07 p.m.