pbmc: Processed Seurat object without named cells.
theSpecies: "human" or "mouse" -- it will determine which species cell-type markers will originate from.
naming_preference: Once top cell-type markers are identified, naming_preferences will then extract CT markers within a more appropriate tissue type.
rda_path: Path to pre-computed cell-type .gmt files (rda objects).
toSave: If scMappR is allowed to write files and directories.
Returns
List with the following elements: - cellMarker: Most likely cell-types predicted from CellMarker database.
panglao: Most likely cell-types predicted from Panglao database.
avg_expression: Average expression of each gene in each cell-type.
Details
This function inputs a Seurat object and uses the average normalized expression of each gene in each cluster to identify cell-types using the GSVA method.