optimizeStyle: Optimize the style of plot

Description Usage Arguments Value Author(s) See Also Examples

View source: R/optimizeStyle.R

Description

Automatic optimize the stlye of trackViewer

Usage

1

Arguments

trackList

An object of trackList

viewerStyle

An object of trackViewerStyle

theme

A character string. Could be "bw" or "col".

Value

a list of a trackList and a trackViewerStyle

Author(s)

Jianhong Ou

See Also

See Also as viewTracks

Examples

1
2
3
4
5
6
7
8
    extdata <- system.file("extdata", package="trackViewer",
                       mustWork=TRUE)
    files <- dir(extdata, ".wig")
    tracks <- lapply(paste(extdata, files, sep="/"), 
                        importScore, format="WIG")
    re <- optimizeStyle(trackList(tracks))
    trackList <- re$tracks
    viewerStyle <- re$style

trackViewer documentation built on May 31, 2017, 3:23 p.m.