Description Usage Arguments Details Note See Also Examples
View source: R/export.WGCNANet.R
Function to export a WGCNANet object to a directory in standard table file formats. Those files can be imported for example into Cytoscape.
1 2 |
x |
Object of class WGCNANet |
dirname |
Directory path where will be saved network files |
overwrite |
Boolean variable indicating whether the function deletes and recreates an existing directory with the same path |
... |
Additional parameters. Not used here. |
This function creates two kinds of table files: edge and node attributes. All files are writen with column names at first line and with tabulations as field separator. Primary and secondary node attributes are exported in two distinct files.
Please notice that this functions does not create any style for cytoscape and only network structure with attributes will be saved. To import directly your network into a Cytoscape session and to save this, please report to attributed functions of the package.
export
, export.STRINGNet
, export.ShortPathSTRINGNet
, export.SIMoNeNet
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # data(SpADataExpression)
# data(SpADEGenes)
# SpAData<-DEGeneExpr(t(SpADataExpression),SpADEGenes)
# NodesForSIMoNe<-rownames(SpADEGenes)[1:17]
# GaussianSpAData<-DEGeneExpr(t(SpADataExpression[NodesForSIMoNe,]),SpADEGenes[NodesForSIMoNe,])
# pickWGCNAParam(GaussianSpAData)
# GlobalWGCNANet<-getWGCNANet(GaussianSpAData)
# print(GlobalWGCNANet,5)
# summary(GlobalWGCNANet)
# plot(GlobalWGCNANet)
# export(GlobalWGCNANet,"GlobalWGCNANet",T)
# compareGaussNetworks(GlobalSIMoNeNet,GlobalWGCNANet,c("SIMoNe","WGCNA"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.