Description Usage Arguments Value Examples
draw the Bubbles
1 2 3 4 | drawBubbles(.Object, rbd, col = NULL)
## S4 method for signature 'BTreePlotter'
drawBubbles(.Object, rbd, col = "gray80")
|
.Object |
the object |
rbd |
the rbd object |
col |
the col value |
draw the bubbles on the track
1 2 3 4 5 6 7 8 9 10 | load(system.file("data", "allCall.lst.RData", package="BubbleTree"))
btreeplotter <- new("BTreePlotter", max.ploidy=5, max.size=10)
nn <- "sam2"
rbd1 <- allCall.lst[[nn]]@rbd
rbd2 <- allCall.lst[[nn]]@rbd.adj
arrows <- trackBTree(btreeplotter, rbd1, rbd2, min.srcSize=0.01,
min.trtSize=0.01)
btree <- drawBTree(btreeplotter, rbd1) +
drawBubbles(btreeplotter, rbd2, "gray80") + arrows
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.