Description Usage Arguments Details Value Author(s) Examples
This function generates a network plot for the network data.
1 2 3 | network_plot(netGraph, omicsData = NULL, modData = NULL,
colour = "Phylum", vsize = FALSE, legend.show = TRUE,
legend.pos = "bottomleft")
|
netGraph |
an object of class 'networkGraph', created by |
omicsData |
Optional, an object of the class 'seqData' usually created by |
modData |
Optional, an object of class 'modData', created by |
colour |
Optional, if desired, can colour vertices by a taxonomic level or 'Module' for module. Use 'NULL' if no colour is desired. |
vsize |
Logical, should vertices be scaled by median abundance of taxa |
legend.show |
Logical, should a legend be shown. Default is TRUE. |
legend.pos |
Optional, if legend==TRUE, where to position the legend. Default is 'bottomleft'. |
A network graph is created for the network(s) that were generated.
A network graph.
Allison Thompson
1 2 3 4 5 6 7 8 | ## Not run:
library(mintJansson)
data(rRNA_data)
mynetwork <- network_calc(omicsData = rRNA_data)
mygraph <- pmartRseq_igraph(netData = mynetwork, coeff=0.6, pval=NULL, qval=0.05)
network_plot(omicsData = rRNA_data, netGraph = mygraph, colour = "Phylum", vsize = TRUE, legend.show = TRUE, legend.pos = "bottomleft")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.