Description Usage Arguments References Examples
Plot distribution for degrees of cells in the network.
1 | plotDegree(net, title = "Distribution of Vertices in the Cell Network")
|
net |
A graph object |
title |
A character vector as the title of the histogram. |
igraphscRGNet \insertRefgraphicsscRGNet
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # Example 1:
# Tested examples. Not run for fast package compiling
## Not run:
# Accessing the demo gene_counts_small dataset available with the package
inputCountsPath <- system.file("extdata", "GSE138852_small.csv", package = "scRGNet")
# Preprocess the raw counts
counts <- preprocessCSV(path = inputCountsPath)
ltmg <- runLTMG(counts)
hyperParams <- setHyperParams(regu_epochs = 5L)
hardwareSetup <- setHardware(coresUsage = 1L)
z <- runFeatureAE(scDataset = counts, LTMG_mat = ltmg, hyperParams, hardwareSetup)
net <- generateNetwork(z)
plotDegree(net)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.