gzoom {ggtree} | R Documentation

## gzoom method

### Description

zoom selected subtree

### Usage

    gzoom(object, focus, subtree = FALSE, widths = c(0.3, 0.7), ...)

    ## S4 method for signature 'ggtree'
    gzoom(object, focus, widths = c(0.3, 0.7),
      xmax_adjust = 0)

    ## S4 method for signature 'beast'
    gzoom(object, focus, subtree = FALSE, widths = c(0.3,
      0.7))

    ## S4 method for signature 'codeml'
    gzoom(object, focus, subtree = FALSE, widths = c(0.3,
      0.7))

    ## S4 method for signature 'treedata'
    gzoom(object, focus, subtree = FALSE, widths = c(0.3,
      0.7))

    ## S4 method for signature 'paml_rst'
    gzoom(object, focus, subtree = FALSE, widths = c(0.3,
      0.7))

    ## S4 method for signature 'phylo'
    gzoom(object, focus, subtree = FALSE, widths = c(0.3,
      0.7))

### Arguments

`object` | supported tree objects
`focus` | selected tips
`subtree` | logical
`widths` | widths
`...` | additional parameter
`xmax_adjust` | adjust xmax (xlim[2])

### Value

figure

[Package ggtree version 1.10.5 Index]