export.SIMoNeNet: Export SIMoNeNet

Description Usage Arguments Details Note See Also Examples

View source: R/export.SIMoNeNet.R

Description

Function to export a SIMoNeNet object to a directory in standard table file formats. Those files can be imported for example into Cytoscape.

Usage

1
2
## S3 method for class 'SIMoNeNet'
export(x, dirname, overwrite = F, ...)

Arguments

x

Object of class SIMoNeNet

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.

Details

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.

Note

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.

See Also

export, export.STRINGNet, export.ShortPathSTRINGNet, export.WGCNANet

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
# data(SpADataExpression)
# data(SpADEGenes)
# SpAData<-DEGeneExpr(t(SpADataExpression),SpADEGenes)

# NodesForSIMoNe<-rownames(SpADEGenes)[1:17]
# GaussianSpAData<-DEGeneExpr(t(SpADataExpression[NodesForSIMoNe,]),SpADEGenes[NodesForSIMoNe,])

# pickSIMoNeParam(GaussianSpAData)

# GlobalSIMoNeNet<-getSIMoNeNet(GaussianSpAData)
# GlobalSIMoNeNet<-FilterEdges(GlobalSIMoNeNet,0.4)
# print(GlobalSIMoNeNet,5)
# summary(GlobalSIMoNeNet)
# plot(GlobalSIMoNeNet)

# export(GlobalSIMoNeNet,"GlobalSIMoNeNet",T)

stringgaussnet documentation built on May 29, 2017, 10:50 a.m.