scVelo-SeuratToLoom-and-RunBasic.Rd
This function converts a Seurat object and associated Velocyto loom files into a single loom file that integrates both spliced and unspliced RNA matrices. It is part of an older workflow and is soft deprecated in favor of `scVelo.SeuratToAnndata`. However, it is preserved for reproducibility of earlier work that cited its use.
scVelo.SeuratToLoom(
seu,
export.name,
velocyto.loom.path = NULL,
velocyto.loom.filenames,
fxn.convert.loomtoseurat.cellname = NULL,
cell.id.match.table = NULL,
prefix = NULL,
postfix = NULL
)
scVelo.RunBasic(loom, save.adata = "adata.obj")
Seurat object containing single-cell RNA sequencing data.
Name of the resulting loom file to be created.
Directory containing the Velocyto loom files; defaults to the current working directory. Default: getwd()
Filenames of Velocyto output (loom files) that contain spliced and unspliced RNA data.
(Experimental) Function to convert cell names in Velocyto loom files to Seurat object cell names, if they differ.
Optional prefix added to Seurat cell IDs, typically used to include sample names. Default: NULL
Optional postfix added to Seurat cell IDs, typically used to denote unique identifiers such as '-1'. Default: NULL
Path to the loom file created by `scVelo.SeuratToLoom`.
Name and path where the AnnData object should be saved, typically ending in '.h5ad'. Default: 'adata.obj'
Generates a loom file that integrates Seurat and Velocyto data, stored in the specified export path.
This set of functions supports the transition from Seurat objects to an integrated loom file via `scVelo.SeuratToLoom`, and from loom files to AnnData objects via `scVelo.RunBasic`, ready for basic to advanced scVelo analysis in Python. This older method is preserved for compatibility with previous studies and publications, ensuring reproducibility of earlier work. This older method is preserved for compatibility with previous studies and publications, but users are encouraged to transition to `scVelo.SeuratToAnndata` for a more streamlined and updated approach that directly integrates Seurat objects with scVelo analysis in Python's Scanpy library.
scVelo.SeuratToAnndata
for the recommended method of preparing data for scVelo analysis.