netEmbedding | R Documentation |
Manifold learning of the signaling networks based on their similarity
netEmbedding(
object,
slot.name = "netP",
type = c("functional", "structural"),
comparison = NULL,
pathway.remove = NULL,
umap.method = c("umap-learn", "uwot"),
n_neighbors = NULL,
min_dist = 0.3,
...
)
object |
CellChat object |
slot.name |
the slot name of object that is used to compute centrality measures of signaling networks |
type |
"functional","structural" |
comparison |
a numerical vector giving the datasets for comparison. No need to define for a single dataset. Default are all datasets when object is a merged object |
pathway.remove |
a range of the number of patterns |
umap.method |
UMAP implementation to run. Can be umap-learn: Run the python umap-learn package; uwot: Runs umap via the uwot R package; If umap.method = "uwot", please make sure you have installed the 'uwot' (https://github.com/jlmelville/uwot) |
n_neighbors |
the number of nearest neighbors in running umap |
min_dist |
This controls how tightly the embedding is allowed compress points together. Larger values ensure embedded points are moreevenly distributed, while smaller values allow the algorithm to optimise more accurately with regard to local structure. Sensible values are in the range 0.001 to 0.5. |
... |
Parameters passing to umap |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.