mod_colors: Retrieve and set mod_colors attribute

mod_colorsR Documentation

Retrieve and set mod_colors attribute

Description

Retrieve and set mod_colors attribute

Usage

mod_colors(cem)

## S4 method for signature 'CEMiTool'
mod_colors(cem)

mod_colors(cem) <- value

## S4 replacement method for signature 'CEMiTool,character'
mod_colors(cem) <- value

Arguments

cem

Object of class CEMiTool

value

a character vector containing colors for each module. Names should match with module names

Value

A vector with color names.

Examples

# Get example CEMiTool object
data(cem)
# See module colors
mod_colors(cem)

csbl-usp/CEMiTool documentation built on March 27, 2024, 5:14 a.m.