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 April 15, 2024, 5:19 p.m.