Description Usage Arguments Details Value Examples
Add a network layout for a selected nearest neighbor network
1 2 3 4 5 6 7 8 9 | addNetworkLayout(
gobject,
nn_network_to_use = "sNN",
network_name = "sNN.pca",
layout_type = c("drl"),
options_list = NULL,
layout_name = "layout",
return_gobject = TRUE
)
|
gobject |
giotto object |
nn_network_to_use |
kNN or sNN |
network_name |
name of NN network to be used |
layout_type |
layout algorithm to use |
options_list |
list of options for selected layout |
layout_name |
name for layout |
return_gobject |
boolean: return giotto object (default = TRUE) |
This function creates layout coordinates based on the provided kNN or sNN.
Currently only the force-directed graph layout "drl", see layout_with_drl
,
is implemented. This provides an alternative to tSNE or UMAP based visualizations.
giotto object with updated layout for selected NN network
1 | addNetworkLayout(gobject)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.