FilterEdges.ShortPathSTRINGNet: Filter edges in ShortPathSTRINGNet

Description Usage Arguments Value See Also Examples

View source: R/FilterEdges.ShortPathSTRINGNet.R

Description

Function to filter on edge distance or number of intermediates in a ShortPathSTRINGNet object.

Usage

1
2
## S3 method for class 'ShortPathSTRINGNet'
FilterEdges(x, Threshold, AttributeFilter = "Distance", ...)

Arguments

x

Object of class ShortPathSTRINGNet

Threshold

Maximum threshold used to filter on edge attributes

AttributeFilter

Character indicating on which edge attribute to filter. Can be "Distance" or "NIntermediates".

...

Additional parameters. Not used here

Value

Object of class ShortPathSTRINGNet with filtered edges.

See Also

FilterEdges, FilterEdges.SIMoNeNet, FilterEdges.FactorNetworks

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
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)

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