View source: R/Seurat_velocyto.R
preprocess_loom | R Documentation |
This function allows you to preprocess loom file into the object that fits to plotting velocyto arrows on 2d embeddings
preprocess_loom(loom_path, Seurat_obj, emb)
loom_path |
path to the loom file, pre-calculated with python command line tool |
Seurat_obj |
Seurat object |
emb |
the matrix with 2d embeddings that you got from get_emb() function |
umap 2d plot with velocity
emb <- get_emb(B06, emb = 'umap') rvel.cd <- preprocess_loom('~/Desktop/RIMMI/Adam_germinal_cenrte/B06/velocyto/B06.loom', B06, emb) Seurat2_velocyto(rvel.cd, B06, emb)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.