Description Usage Arguments Value Author(s) Examples
Plot correlation network map
1 2 3 | plotNetwork(para, group, valueID = "value", cor.thr = 0.95,
degree.thr = 10, size.factor = 0.5, layout = layout_in_circle,
showPlot = FALSE, ...)
|
para |
A metaXpara object |
group |
Samples used for plot |
valueID |
The name of the column that used for plot |
cor.thr |
Threshold of correlation |
degree.thr |
Threshold of degree of node |
size.factor |
Node size factor for plot |
layout |
layout for plotting |
showPlot |
Whether or not to print the figure to screen |
... |
Additional parameter |
An object of igraph
Bo Wen wenbo@genomics.cn
1 2 3 4 5 6 7 8 | para <- new("metaXpara")
pfile <- system.file("extdata/MTBLS79.txt",package = "metaX")
sfile <- system.file("extdata/MTBLS79_sampleList.txt",package = "metaX")
rawPeaks(para) <- read.delim(pfile,check.names = FALSE)
sampleListFile(para) <- sfile
para <- reSetPeaksData(para)
para <- missingValueImpute(para)
gg <- plotNetwork(para,group=c("S","C"),degree.thr = 10,cor.thr = 0.8)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.