scale_color-methods: scale_color method

scale_colorR Documentation

scale_color method

Description

scale_color method

scale color by a numerical tree attribute

Usage

scale_color(object, by, ...)

## S4 method for signature 'treedata'
scale_color(object, by, ...)

## S4 method for signature 'phylo'
scale_color(object, by, ...)

Arguments

object

treedata object

by

one of numerical attributes

...

additional parameter

Value

color vector


YuLab-SMU/ggtree documentation built on Nov. 3, 2024, 4:15 p.m.