plot Sankey diagram for cell type links above a certain threshould
plotCellTypeSankey(corr_matrix, corr_threshould = 0.1, ...)
corr_matrix
: cell type corr matrix from crossSpeciesCellTypeGOCorrcorr_threshould
: minimum corr value for positively related cell types, default 0.6...
: additional params for sankeyNetworka Sankey plot showing related cell types
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)
Useful links