UNAGI.dynamic_graphs.buildGraph

Functions

buildEdges(stage1, stage2, midpath, iteration)

calculate the distance between two stages and connect the clusters in two stages with smallest distance with midpath in iterative training

connectNodes(distances[, cutoff])

Connect the clusters in two stages with smallest distance and p-value < cut-off

getandUpadateEdges(total_stage, midpath, ...)

get edges in iterative training.

nodesDistance(rep1, rep2, topgene1, topgene2)

calculate the distance between two stages

reupdateAttributes(adata, stage, results)

update gaussian and gamma rep, top 100 differential genes, cell types of clusters to anndata

updateEdges(edges, midpath, iteration)

updata edges to the anndata database, calculate edges changes.