scale_color {ggtree} | R Documentation

## scale_color method

### Description

scale color by a numerical tree attribute

### Usage

    scale_color(object, by, ...)

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

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

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

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

### Arguments

`object` | supported objects, including phylo, paml_rst, codeml_mlc, codeml, jplace, beast, hyphy
`by` | one of numerical attributes
`...` | additional parameter

### Value

color vector

[Package ggtree version 1.10.5 Index]