powered by
Calculate UMAP projections for coembedding of cells and features
coembedding_umap( seu, reduction, reduction.name, gene.set = NULL, slot = "data", assay = "RNA", seed = 1 )
return a revised Seurat object by adding a new reduction component named `reduction.name`.
a Seurat object with coembedding in the reductions slot wiht component name reduction.
a string, specify the reduction component that denotes coembedding.
a string, specify the reduction name for the obtained UMAP projection.
a string vector, specify the features (genes) in calculating the UMAP projection, default as all features.
an optional string, specify the slot in the assay, default as `data`.
an optional string, specify the assay name in the Seurat object when adding the UMAP projection.
an optional integer, specify the random seed for reproducibility.
None
data(pbmc3k_subset) data(top5_signatures) # \donttest{ pbmc3k_subset <- coembedding_umap( pbmc3k_subset, reduction = "ncfm", reduction.name = "UMAPsig", gene.set = top5_signatures$gene ) # }
Run the code above in your browser using DataLab