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

Description Usage Arguments Value

View source: R/swne_plotting.R

Description

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

Usage

1
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 Dec. 7, 2018, 8:55 a.m.