Description Usage Arguments Details Value Author(s) Examples
This function can plot kdiffnet result
1 2 3 |
x |
output generated from diffee function (diffee class) |
type |
type of graph. There are two options:
|
index |
determines which node(s) to zoom into when parameter "type" is "neighbour". This parameter could either be an integer or vector of integers representing node ids |
hastitle |
determines whether the graph title is displayed or not (TRUE to display / FALSE to hide) |
... |
extra parameters passed to |
when only the kdiffnet result is provided, the function will plot all graphs with default numeric labels. Users can specify multiple subID to zoom in multiple nodes. Each graph will include a descriptive title.
a plot of the difference graph from kdiffnet result specified by user input
Beilun Wang, Zhaoyang Wang (Author), Zhaoyang Wang (maintainer) zw4dn@virginia.edu
1 2 3 4 5 6 | library(JointNets)
data(exampleData)
result = kdiffnet(exampleData[[1]], exampleData[[2]],
W = matrix(1,20,20), g = rep(0,20),epsilon = 0.2,
lambda = 0.4,covType = "cov")
plot(result)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.