ExtractSWNEColors: Extracts the exact colors used to plot each cluster (the hex...

View source: R/swne_plotting.R

ExtractSWNEColorsR Documentation

Extracts the exact colors used to plot each cluster (the hex codes) for a given color seed

Description

Extracts the exact colors used to plot each cluster (the hex codes) for a given color seed

Usage

ExtractSWNEColors(swne.embedding, sample.groups, seed)

Arguments

swne.embedding

SWNE embedding (list of factor and sample coordinates) from EmbedSWNE

sample.groups

Factor defining sample groups

seed

Seed for sample groups color reproducibility

Value

vector of color hex codes with clusters as the name


yanwu2014/swne documentation built on Aug. 5, 2023, 4:42 a.m.