zoom {ggbio} | R Documentation

## Simple navigation for ggbio object.

### Description

A set of simple navigation API apply to ggbio object, let you move along the genome and zoom in/out.

### Usage

    zoom(fac = 1/2)
    zoom_in(fac = 1/2)
    zoom_out(fac = 2)
    nextView(unit = c("view", "gene", "exon", "utr"))
    prevView(unit = c("view", "gene", "exon", "utr"))

### Arguments

`fac` | numeric value to indicate zoom factor, multiple of current view width. If it's smaller than 1, then it's zoom-in operation; if it's bigger than 1, then it's zoom-out operation.
`unit` | only support 'view' unit now.

### Details

`zoom_in` and `zoom_out` are just simple wrapper around `zoom` function.

For more convenient, gene features based jumpting we will support it in the future.

### Value

A special class of navigation.

### Author(s)

Tengfei Yin

[Package ggbio version 1.28.5 Index]