powered by
This function computes transition probabilities between clusters based on the link probabilities of the pruned k nearest neighbour graph.
transitionProbs(res, cl, pvalue = 0.01)
Matrix of transition probabilities between clusters.
List object with k nearest neighbour information returned by pruneKnn function.
pruneKnn
List object with Louvain clustering information, returned by the graphCluster function.
graphCluster
Positive real number between 0 and 1. All nearest neighbours with link probability < pvalue are discarded. Default is 0.01.
< pvalue
res <- pruneKnn(intestinalDataSmall,metric="pearson",knn=10,alpha=1,no_cores=1,FSelect=FALSE) cl <- graphCluster(res,pvalue=0.01) probs <-transitionProbs(res,cl,pvalue=0.01)
Run the code above in your browser using DataLab