viewLegend: View the legends for the graph built for PAN

Description Usage Arguments Author(s) Examples

Description

This function helps the user to view legends for the built PAN graph.

Usage

1
viewLegend(object, what="nodeColor", ...)

Arguments

object

an object of S4 class PAN.

what

a character value specifying which legend to view: ‘nodeColor’, ‘nodeSize’ or ‘edgeWidth’.

...

not in use, but only for further extension.

Author(s)

Xin Wang xw264@cam.ac.uk

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
data(bm, package="PANR")
pan<-new("PAN", bm1=bm1)
pan<-infer(pan, para=list(type="SNR", log=TRUE, sign=TRUE, cutoff=log(5)),
filter=FALSE, verbose=TRUE)
data(Bakal2007Cluster, package="PANR")
pan<-buildPAN(pan, engine="igraph", para=list(nodeColor=nodeColor, 
hideNeg=TRUE), verbose=TRUE)
viewLegend(pan, "edgeWidth")

## End(Not run)

PANR documentation built on Nov. 8, 2020, 8:15 p.m.