get per cell type average scaled vector of GO terms
getCellTypeGO(go_seurat_obj, cell_type_col, norm_log1p = TRUE)
go_seurat_obj
: go seurat object created by makeGOSeuratcell_type_col
: column name in mera.data storing cell type classesnorm_log1p
: whether or not to perform data normalisation and log1p transformation, default TRUEa table of scaled GO representation per cell type (averaged)
library(scGOclust) library(httr) httr::set_config(httr::config(ssl_verifypeer = FALSE)) data(mmu_tbl) data(mmu_subset) go_seurat_obj = makeGOSeurat(ensembl_to_GO = mmu_tbl, seurat_obj = mmu_subset, feature_type = "external_gene_name") getCellTypeGO(go_seurat_obj = go_seurat_obj, cell_type_co = "cell_type_annotation")
Useful links