Description Usage Arguments Value See Also Examples
View source: R/STRINGNet.default.R
This function is used by getSTRINGNet() to convert results from the STRING API into object of class STRINGNet.
1 2 | ## Default S3 method:
STRINGNet(x, DEGeneExpr, GenesAnnotations = NULL, ...)
|
x |
The non-formatted STRING network obtained by getSTRINGNet. |
DEGeneExpr |
DE genes analysis results contained in an object of class DEGeneExpr. Those will be used as primary node attributes. |
GenesAnnotations |
Gene annotations got by biomaRt if it was requested by getSTRINGNet(). Those will be used as secondary node attributes. |
... |
Additional parameters. Not used here. |
A list with at least two data frames: - Edge attributes, with confidence scores given by STRING and multiple edges. - Node attributes given by DE genes analysis results. A third data frame giving gene annotations can be added if it is not null when calling the function.
STRINGNet
, getSTRINGNet
, print.STRINGNet
, summary.STRINGNet
, export.STRINGNet
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.