nav: Simple navigation for ggbio object.

Description Usage Arguments Details Value Author(s)

Description

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

Usage

1
2
3
4
5
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


ggbio documentation built on Nov. 8, 2020, 5:04 p.m.