clusterPbnPlot | R Documentation |
Plots the PBN produced by computePbnByCluster
for a given
cluster and returns it as a ggplot object
clusterPbnPlot(ingres.object, cluster.id)
ingres.object |
An |
cluster.id |
A string containing the id of the cluster to be plotted. |
A ggplot
object containing the cluster PBN plot.
# Create an ingres object with viper slot ing = createIngresObjectFromSeurat( small_blca_wang, "RNA", "data", network_genes, network ) ing@viper = viper_results ing = computePbnByCluster(ing) clusterPbnPlot(ing, "1")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.