plot_onenet.Rd
plot one network
plot_onenet( parcorr, mode = "circle", gname = "", lsize = 2.5, nodecolor = "grey", family.vec = 0, circlenet = F )
parcorr | partial correlation matrix |
---|---|
mode | ggnet2 mode, could be "circle" or "spring",... |
gname | character, graph name. |
lsize | numeric, label size |
nodecolor | vector/character, specify the color for each node |
family.vec | vector, assign nodes to families. In other words, it could be the classification / covariates of the nodes. |
circlenet | logical, whether plot the network in a circle shape. |
a network figure