dropColors: drop unused colors

Description Usage Arguments Value

View source: R/utils.R

Description

This may be usefull for annotation_colors in pheatmap or pl_heatmap

Usage

1
dropColors(colors, df, drop_col = NULL)

Arguments

colors

a named list of color vectors

df

data.frame to check

drop_col

drop which color. NULL is all.

Value

a list of updated colors


zzwch/convgene documentation built on July 11, 2021, 9:41 a.m.