drawBTree: drawBTree

Description Usage Arguments Value Examples

Description

draw the BTree track

Usage

1
2
3
4
drawBTree(.Object, rbd, size = 1)

## S4 method for signature 'BTreePlotter'
drawBTree(.Object, rbd, size = 1)

Arguments

.Object

the object

rbd

the rbd object

size

the size

Value

draw the BTree track

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
load(system.file("data", "allCall.lst.RData", package="BubbleTree"))
load(system.file("data", "cancer.genes.minus2.rda", package="BubbleTree"))
load(system.file("data", "vol.genes.rda", package="BubbleTree"))
load(system.file("data", "gene.uni.clean.gr.rda", package="BubbleTree"))
load(system.file("data", "cyto.gr.rda", package="BubbleTree"))

# 77 common cancer genes
comm <- btcompare(vol.genes, cancer.genes.minus2)

btreeplotter <- new("BTreePlotter", branch.col="gray50")
annotator <-new("Annotate")
cc <- allCall.lst[["sam2"]]
z <- drawBTree(btreeplotter, cc@rbd.adj) + 
    ggplot2::labs(title=sprintf("%s (%s)", "sam2", info(cc)))

BubbleTree documentation built on Nov. 8, 2020, 8:22 p.m.