Description Usage Arguments Value See Also Examples
View source: R/optimizeStyle.R
Automatic optimize the stlye of trackViewer
1 | optimizeStyle(trackList, viewerStyle = trackViewerStyle(), theme = NULL)
|
trackList |
An object of |
viewerStyle |
An object of |
theme |
A character string. Could be "bw", "col" or "safe". |
a list of a trackList
and a trackViewerStyle
See Also as viewTracks
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
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.