Description Usage Arguments Value See Also Examples
View source: R/FilterEdges.ShortPathSTRINGNet.R
Function to filter on edge distance or number of intermediates in a ShortPathSTRINGNet object.
1 2 | ## S3 method for class 'ShortPathSTRINGNet'
FilterEdges(x, Threshold, AttributeFilter = "Distance", ...)
|
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 |
Object of class ShortPathSTRINGNet with filtered edges.
FilterEdges
, FilterEdges.SIMoNeNet
, FilterEdges.FactorNetworks
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.