View source: R/import_functions.R
import_seurat_scANANSE | R Documentation |
import the influences from a anansnake directory into a seurat object
import_seurat_scANANSE(
seurat_object,
cluster_id = "seurat_clusters",
anansnake_inf_dir = "None",
return_df = FALSE
)
seurat_object |
seurat object |
cluster_id |
ID used for finding clusters of cells |
anansnake_inf_dir |
influence directory generated by anansnake |
return_df |
return both the seurat object and a dataframe with influence scores as a list |
seurat object with the influence scores addes as an assay
sce_small <- readRDS(system.file("extdata","sce_small.Rds",package = 'AnanseSeurat'))
infdir <- system.file("extdata","influence",package = 'AnanseSeurat')
sce_small <- import_seurat_scANANSE(sce_small, anansnake_inf_dir = infdir)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.