plotCellTypeCorrHeatmap {scGOclust} | R Documentation |
plot clustered heatmap for cell type corr
Description
plot clustered heatmap for cell type corr
Usage
plotCellTypeCorrHeatmap(corr_matrix, scale = NA, ...)
Arguments
corr_matrix |
correlation matrix from cellTypeGOCorr or crossSpeciesCellTypeGOCorr |
scale |
scale value by column, row, or default no scaling (NA) |
... |
params to pass to slanter::sheatmap |
Value
a sheatmap heatmap
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")
cell_type_go = getCellTypeGO(go_seurat_obj = go_seurat_obj, cell_type_co = "cell_type_annotation")
corr_matrix = cellTypeGOCorr(cell_type_go = cell_type_go, corr_method = "pearson")
plotCellTypeCorrHeatmap(corr_matrix = corr_matrix, scale = "column")
[Package scGOclust version 0.2.1 Index]