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


GuangchuangYu/ggtree documentation built on April 12, 2024, 5:20 a.m.