matchColCond: Allows to display the correct colour annotation

View source: R/heatmap-wrappers.R

matchColCondR Documentation

Allows to display the correct colour annotation

Description

Allows to display the correct colour annotation

Usage

matchColCond(Names, cond, palette)

Arguments

Names

vector of character strings. name of the columns

cond

vector of character strings. Name of the tissues/conditions to map the columns

palette

named vector palette. (names are the same as condition)

Value

a properly formatted vector of colours


barzine/barzinePhdR documentation built on Nov. 23, 2024, 8:54 p.m.