GetColorSchema: Function to get color palette for graphics.

View source: R/general_graphics.R

GetColorSchemaR Documentation

Function to get color palette for graphics.

Description

This function is called to create a color palette based on the number of groups. It returns a vector of color hex codes based on the number of groups.

Usage

GetColorSchema(mbSetObj, grayscale = F)

Arguments

mbSetObj

Input the name of the mbSetObj.

grayscale

Logical, default set to F.

Author(s)

Jeff Xia jeff.xia@mcgill.ca McGill University, Canada License: GNU GPL (>= 2)


xia-lab/MicrobiomeAnalystR documentation built on April 17, 2024, 7:45 p.m.