Description Usage Arguments Value Examples
Create a network plot where each node corresponds to a gene set and edge weights and lengths correspond to the similarity score between two gene sets. The purpose is to visualize which gene sets share the most genes. Edges with low similarity scores can be pruned to help naturally divide gene sets into groups.
1 | buildNetworkPlot(gsSimilarityDf, similarityCutoff = 0.5, title = NULL)
|
gsSimilarityDf |
A non-empty data.frame listing the similarity score for each pair of gene sets (essentially a table of edges). Must have columns "gs1", "gs2", "similarity". It is ok to provide edges between a node and itself, e.g., in the case of network plots with a single node. Such edges will be removed. |
similarityCutoff |
(optional) A number between 0 and 1 indicating the minimum similarity two gene sets must have in order for an edge to show up on the plot. Defaults to 0.5. Very low values will cause a highly connected, possibly confusing plot. Very high values may remove or mask natural gene set groupings. |
title |
(optional) A custom title for the network plot. Defaults to "Gene Set Similarity Plot" |
An interactive visNetwork object containing the network plot of gene sets.
1 2 | result <- geneSetAnalysis("ENSG00000000971", "GO:BP")
buildNetworkPlot(result$similarityDf, similarityCutoff = 0.3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.