get_rowAnn_color_pal: Get color palette for dataset row annotations

View source: R/colors.R

get_rowAnn_color_palR Documentation

Get color palette for dataset row annotations

Description

Get color palette for dataset row annotations

Usage

get_rowAnn_color_pal(ds, rowAnns, var_colors = NULL)

Arguments

ds

A dataset object (a list with vals, rowAnn (required), colAnn)

rowAnns

A character vector of 1-2 column names in ds$rowAnn.

var_colors

A named vector with colors as values and annotations/groups as names.

Value

A list of 2 elements: 1) ds without NAs in rowAnn1, 2) rowAnns


kazeera/hourglass documentation built on April 5, 2025, 7:18 a.m.