addNetworkLayout
¶
addNetworkLayout
Description¶
Add a network layout for a selected nearest neighbor network
Usage¶
addNetworkLayout(
gobject,
nn_network_to_use = "sNN",
network_name = "sNN.pca",
layout_type = c("drl"),
options_list = NULL,
layout_name = "layout",
return_gobject = TRUE
)
Arguments¶
Argument |
Description |
---|---|
|
giotto object |
|
kNN or sNN |
|
name of NN network to be used |
|
layout algorithm to use |
|
list of options for selected layout |
|
name for layout |
|
boolean: return giotto object (default = TRUE) |
Details¶
- This function creates layout coordinates based on the provided kNN or sNN.
Currently only the force-directed graph layout “drl”, see ``layout_with_drl` <#layoutwithdrl>`_ , is implemented. This provides an alternative to tSNE or UMAP based visualizations.
Value¶
giotto object with updated layout for selected NN network