Learn R Programming

stringgaussnet (version 1.1)

print.ShortPathSTRINGNet:

Print function for object of class ShortPathSTRINGNet.

Description

This function displays specifically object of class ShortPathSTRINGNet, with previews of edge and node attributes.

Usage

"print"(x, nlimit = 20, ...)

Arguments

x

Object of class ShortPathSTRINGNet

nlimit

Which number of lines to preview for data frames

...

Additional parameters from generic print function

See Also

ShortPathSTRINGNet, ShortPathSTRINGNet.default, getShortestPaths, summary.ShortPathSTRINGNet, export.ShortPathSTRINGNet

Examples

Run this code
data(SpADataExpression)
data(SpADEGenes)
SpAData<-DEGeneExpr(t(SpADataExpression),SpADEGenes)

# SpASTRINGNet<-getSTRINGNet(SpAData)
# Can be longer.

# SpASTRINGNet<-getSTRINGNet(SpAData,AddAnnotations=FALSE)
# print(SpASTRINGNet,5)
# summary(SpASTRINGNet)
# PPISpASTRINGNet<-selectInteractionTypes(SpASTRINGNet,
#	c("coexpression","experimental","knowledge"),0.9)

# shortPathSpANet<-getShortestPaths(PPISpASTRINGNet)
# shortPathSpANet<-FilterEdges(shortPathSpANet,2.2)
# print(shortPathSpANet,5)
# summary(shortPathSpANet)

Run the code above in your browser using DataLab