paletteCir: Create a palette of ID across different group

View source: R/Visualization_enrichCirclize.R

paletteCirR Documentation

Create a palette of ID across different group

Description

Create a palette of ID across different group

Usage

paletteCir(
  df,
  group = "model",
  palette = as.character(MetBrewer::met.brewer("Signac", length(unique(df$ID))))
)

Arguments

df

a data frame contains multigroup results of enrich

group

which column is group data

palette

a color vecter, should be length with unique ID

Value

a named palette

Examples

paletteCir(df)

xiayh17/RNAseqStat2 documentation built on May 27, 2023, 12:13 p.m.