add_embedding | R Documentation |
Add the given embedding as a column attribute and meta data related to the given embeddding to the given .loom file handler.
add_embedding(loom, embedding, name, is.default = F, trajectory = NULL)
loom |
The loom file handler. |
embedding |
A M-by-2 data.frame of the embeddings with M cells. If the given trajectory is not NULL, it should correspond to the projection of the cells onto the given trajectory. |
name |
The name of the given embedding. |
is.default |
Default embedding to use in the .loom file. |
trajectory |
A named list with the node names, the edges, and the x and y coordinates of the nodes of trajectory. Use the function create_trajectory(). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.