Will convert assays within a Seurat object between "Assay" and "Assay5" types.

Convert_Assay(seurat_object, assay = NULL, convert_to)

Arguments

seurat_object

Seurat object name.

assay

name(s) of assays to convert. Default is NULL and will check with users which assays they want to convert.

convert_to

value of what assay type to convert current assays to. #'

  • Accepted values for V3/4 are: "Assay", "assay", "V3", or "v3".

  • Accepted values for V5 are: "Assay5", "assay5", "V5", or "v5".

Examples

if (FALSE) {
# Convert to V3/4 assay
obj <- Convert_Assay(seurat_object = obj, convert_to = "V3")

# Convert to 5 assay
obj <- Convert_Assay(seurat_object = obj, convert_to = "V5")
}