plotCellTypeSankey {scGOclust} | R Documentation |
plot Sankey diagram for cell type links above a certain threshould
Description
plot Sankey diagram for cell type links above a certain threshould
Usage
plotCellTypeSankey(corr_matrix, corr_threshould = 0.1, ...)
Arguments
corr_matrix |
cell type corr matrix from crossSpeciesCellTypeGOCorr |
corr_threshould |
minimum corr value for positively related cell types, default 0.6 |
... |
additional params for sankeyNetwork |
Value
a Sankey plot showing related cell types
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")
plotCellTypeSankey(corr_matrix = corr_matrix, 0.1)
[Package scGOclust version 0.2.1 Index]