UpdateSeuratObjectProperly: Update Seurat Object Properly, including Assays and DimReducs

View source: R/Seurat.Utils.R

UpdateSeuratObjectProperlyR Documentation

Update Seurat Object Properly, including Assays and DimReducs

Description

This function is an extension on SeuratObject::UpdateSeuratObject(). It first calls UpdateSeuratObject(), to updates the class definitions of of a (v3) Seurat object, then it updates its assays to the 'Assay5' class, and updates the UMAP DimReduc to keys.

Usage

UpdateSeuratObjectProperly(obj, update.gene.symbols = TRUE)

Arguments

obj

A Seurat object to be updated. Default: None.

update.gene.symbols

Logical. If TRUE, gene symbols are updated to the latest version.

Value

An updated Seurat object.

Examples

## Not run: 
combined.obj <- UpdateSeuratObjectProperly(combined.obj)

## End(Not run)


vertesy/Seurat.utils documentation built on Dec. 4, 2024, 5:20 p.m.