View source: R/produceNetwork.R
produceNetworkForCluster | R Documentation |
Produce a tidygraph network for a given cluster
produceNetworkForCluster(ingres.object, cluster.id)
ingres.object |
The ingres object containing the relevant data. |
cluster.id |
The id of the cluster for which the network is to be produced. |
A tidygraph object containing the network for the given cluster.
# Create an ingres object with viper slot ing = createIngresObjectFromSeurat( small_blca_wang, "RNA", "data", network_genes, network ) ing@viper = viper_results ing = computePbnByCluster(ing) network = produceNetworkForCluster(ing, "1") print(network)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.