Description Usage Arguments Value See Also Examples
View source: R/3_analyzeNetwork.R
Analyzes the degree and betweenness of the genes in the functional network.
1 | analyzeNetwork(incidMatrices, fNw = NULL, plotOutput = TRUE, colors = NULL)
|
incidMatrices |
list or matrix. Output from |
fNw |
list. Return from |
plotOutput |
logical. Wether to plot the degree and betweenness boxplots. |
colors |
vector. Colors for the metagroups |
List:
degree, betweenness: Degree and Betweenness of the nodes in the global network (commonClusters) and within each cluster/metagroup (subsets of commonGtSets network). The degree is given as percentage, normalized based on the total number of nodes of the network. i.e. a value of 90 in a network of 10 nodes, would mean the actual degree of the node is 9: it is conneded to 9 nodes (90% of 10)).
transitivity: Transitivity of the networks.
betweennessMatrix: Betweenness of each node in each cluster.
hubsList: Nodes selected as potential hubs in the global network and within each cluster/metagroup (nodes with betweenness over 75% in the given network/subnetwork).
intraHubsCount: Number of times each node was selected as potential intra-cluster hub.
Overview of the package: FGNet
Package tutorial: vignette("FGNet-vignette")
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
# Previous Steps
jobID <- 3907019
results <- fea_gtLinker_getResults(jobID)
incidMat <- fea2incidMat(results, filterAttribute="Silhouette Width")
# Plot node degree and betweensess
analyzeNetwork(incidMat)
# Get stats without plotting
nwStats <- analyzeNetwork(incidMat, plotOutput=FALSE)
names(nwStats)
nwStats$hubsTable
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.