Description Usage Arguments Author(s) See Also Examples
This class contains Gviz's AnnotationTrack and adds default values to the genome and chromosome slot
1 2 |
range,start,end,width,group,id,stacking,name,fun,selectFun,... |
Arguments to be passed to |
Renan Sauteraud
1 2 3 4 5 6 7 8 9 10 | # Object construction
aTrack <- ATrack(start = c(20, 60), end = c(40, 100), name = "random.anno",
id=c("small","big"))
#Stacking example
a2Track <- ATrack(start = c(20, 30), end = c(40, 100), name = "stacking=dense",
id = c("small", "big"), stacking = "dense", fill=c("black", "orange"))
a3Track <- ATrack(start = c(20, 30), end = c(40, 100), name = "no stacking",
id = c("small", "big"), fill = c("black", "orange"))
#Plotting
plotTracks(trackList = c(aTrack, a2Track, a3Track), showFeatureId = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.