plotBioNetPolygons: Polygon Plot on caOmicsV bioNetCircos Layout

Description Usage Arguments Value Author(s) Examples

View source: R/caOmicsV.bioNetCircos.R

Description

Plot category data as polygons on node(s) of caOmicsV bioNetCircos layout. bioNetCircos layout and graphic device must be initialized first. Polygon colours are converted from category value with build in colour series. Use getcaOmicsVColors() and setcaOmicsVColors(colorList) to see or reset customized colours.

Usage

1
    plotBioNetPolygons(dataValues, outer, inner)

Arguments

dataValues

matrix of character or numeric for category data

outer

non-negative numeric, the outer boundary of plot area from node center

inner

non-negative numeric, the innner boundary of plot area from node center

Value

None

Author(s)

Henry Zhang

Examples

1
2
3
4
5
6
7
8
    data(bionetPlotDemoData)
    expr <- bionetPlotDemoData$heatmapData[[1]]
    bioNet <- bc3net(expr)

    initializeBioNetCircos(bioNet, totalSamples=60)
    showBioNetNodesLayout()
    dataValues <- matrix(rep(c(1:3), each=20), nrow=1)
    plotBioNetPolygons(dataValues, outer=3, inner=2)

hzhanghenry/caOmicsV documentation built on May 17, 2019, 10:07 p.m.