transitionProbs {RaceID} | R Documentation |
Function for the computation of transition probabilities between clusters
Description
This function computes transition probabilities between clusters based on the link probabilities of the pruned k nearest neighbour graph.
Usage
transitionProbs(res, cl, pvalue = 0.01)
Arguments
res |
List object with k nearest neighbour information returned by |
cl |
List object with clustering information, returned by the |
pvalue |
Positive real number between 0 and 1. All nearest neighbours with link probability |
Value
Matrix of transition probabilities between clusters.
Examples
res <- pruneKnn(intestinalDataSmall,knn=10,alpha=1,no_cores=1,FSelect=FALSE)
cl <- graphCluster(res,pvalue=0.01)
probs <-transitionProbs(res,cl,pvalue=0.01)
[Package RaceID version 0.3.5 Index]