scale_color {ggtree} | R 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

[Package ggtree version 1.12.7 Index]