Determine species (Hs, Mm) based on gene (symbol, ensembl) representation

detectSpecies(object)

Arguments

object

Seurat object, gene expression matrix (rownames are genes), or gene character vector.

Value

Species (Hs or Mm)

Author

Nicholas Mikolajewicz

Examples


my.species <- detectSpecies(object)
#> Error in c("Seurat", "Matrix", "dgCMatrix") %in% class(object): object 'object' not found