Description Usage Arguments Examples
View source: R/BI_FastWGCNA_network.R
Visualize specified module Network after FastWGCNA pipeline
1 2 3 4 | FastWGCNA_network(object, module, hubGenes = NULL,
hubGenes.color = mycolor[21], ratio = 0.8, size = 15,
linkDistance = 300, linkWidth = 6, linkColour.type = NULL,
opacityNoHover = 0, save.path = "WGCNA", names = "love")
|
object |
the result from |
module |
module name.It must be a color oject like "blue"/"red" |
hubGenes |
Genes you want to highlight.Default is NULL,which means no gene would be highlighted. |
hubGenes.color |
the color of hubGenes.Default is mycolor[21]. |
ratio |
The portion of data you select |
size |
a numeric to adjust the size of nodes |
linkDistance |
link distance |
linkWidth |
the width of link.If it is not a numeric,the default |
linkColour.type |
a list of link color for |
opacityNoHover |
the legend intensity.From 0-1.Default is 0 |
save.path |
the space of the save file.Default is "WGCNA" |
names |
part of saved files name |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## NOT RUN
object = wgcna;rm(wgcna);
module = "blue"
hubGenes = c("ENSG00000009790","ENSG00000185811","ENSG00000134516","ENSG00000167613","ENSG00000122122","ENSG00000010610","ENSG00000066336","ENSG00000183813","ENSG00000102245","ENSG00000135426")
CoNet_moduleBlue <- FastWGCNA_network(object,
module,
hubGenes,
ratio = 0.8,
size = 15,
linkDistance = 300,
linkWidth=6,
linkColour.type = NULL,
opacityNoHover = 0,
save.path = "WGCNA",
names = "love")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.