getCellTypeGO {scGOclust}R Documentation

get per cell type average scaled vector of GO terms

Description

get per cell type average scaled vector of GO terms

Usage

getCellTypeGO(go_seurat_obj, cell_type_col, norm_log1p = TRUE)

Arguments

go_seurat_obj

go seurat object created by makeGOSeurat

cell_type_col

column name in mera.data storing cell type classes

norm_log1p

whether or not to perform data normalisation and log1p transformation, default TRUE

Value

a table of scaled GO representation per cell type (averaged)

Examples


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")


[Package scGOclust version 0.2.1 Index]