plotTransClusters: plot of transmission clusters with weighted edges

Description Usage Arguments Value Examples

View source: R/Visuals.R

Description

plot of transmission clusters with weighted edges

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
plotTransClusters(
  myModel,
  eWidth = 2,
  vSize = 5,
  vFontSize = 1,
  vColor = "cyan",
  level = 1,
  thick = 1,
  labelOffset = 1,
  showLabels = TRUE
)

Arguments

myModel

cluster analyis model created using createModel()

eWidth

width of edges

vSize

size of vertices

vFontSize

font size of vertex labels

vColor

vertex colour

level

transmission cut-off level

thick

edge weight adjustment factor

labelOffset

offset height for vertex label

showLabels

toggle labels

Value

graph object

Examples

1
bcg <- plotTransClusters(clus, bcModel, level=3, vColor='lightblue',vSize=4, thick = 2, vFontSize=1)

JamesStimson/transcluster documentation built on May 24, 2020, 10:39 p.m.