Description Usage Arguments Value
This function takes a list of low dimensional embedding data, and true cell type labels as input, and compute the graph signal to noise ratio of the SNN graphs constructed with each low dimension embeddding and the MLG graph.
1 2 3 4 5 6 | graph_signal_noise_ratio(
factor.list,
knn.param = 20,
prune.param = 1/5,
cell_label
)
|
factor.list |
A list that contains several low dimensional embedding data. |
knn.param |
The number of neighbors used to construct k-nearest-neighbot graph. |
prune.param |
The prune parameter for SNN graph. There is an edge between cell i and j in the SNN graph, if the number of common neighbors between i and j exceeds the product of knn.param and knn.param. |
cell_label |
True cell type label. |
A vector of signal to noise ratio, labeled by graph name.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.