getDistinctColors: A helper function for asigning colors in pseudotissue...

View source: R/spatial_visualization.R

getDistinctColorsR Documentation

A helper function for asigning colors in pseudotissue visualization

Description

Adapted function from Giotto package Dries et al, 2021, rewrite for use in scdrake package for a SingleCellExperiment object

Usage

getDistinctColors(n)

Arguments

n

Number of desired colors.

Value

A character vector of distinct colors.


bioinfocz/scdrake documentation built on Sept. 19, 2024, 4:43 p.m.