Description Usage Arguments Value See Also Examples
Two or more arbitrary tracks can be used to create a composite track, by which different features can be shown in the same track.
1 2 3 4 5 |
x, y, ... |
Track constructed with track-constructors or composite track. |
Returns a "CompositeTrack" object.
http://tnt.marlin.pub/articles/examples/track-CompositeTrack.html
1 2 3 4 5 6 7 8 9 10 | gr <- GRanges("chr1", IRanges(c(11000, 20000, 60000), width = 2000))
gpos <- GRanges("chr1", IRanges(c(12000, 21000, 61000), width = 1), value = c(1, 2, 3))
btrack <- BlockTrack(gr, label = "Block Track", tooltip = as.data.frame(gr), color = "lightblue4")
ptrack <- PinTrack(gpos, label = "Pin Track", tooltip = as.data.frame(gpos), background = "beige")
ctrack <- merge(btrack, ptrack)
## Not run:
TnTBoard(ctrack)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.