Automatic optimize the stlye of trackViewer
optimizeStyle(trackList, viewerStyle=trackViewerStyle(), theme=NULL)
An object of trackList
An object of trackViewerStyle
A character string. Could be "bw" or "col".
a list of a trackList and a trackViewerStyle
See Also as viewTracks
extdata <- system.file("extdata", package="trackViewer",
files <- dir(extdata, ".wig")
tracks <- lapply(paste(extdata, files, sep="/"),
re <- optimizeStyle(trackList(tracks))
trackList <- re$tracks
viewerStyle <- re$style
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.