Remove duplicate genes from Seurat Object.

rmDuplicateGenes(object, retain.graphs = T)

Arguments

object

Seurat Object

retain.graphs

Logical specifying whether to retain graphs in subset Seurat object because Seurat::subset function inherently removed the graphs. Default is TRUE.

Value

Seurat object

Author

Nicholas Mikolajewicz

Examples


so.query <- rmDuplicateGenes(so.query, retain.graphs = T)
#> Error in rownames(object): object 'so.query' not found