compscore {RaceID} | R Documentation |
Compute StemID2 score
Description
This function extracts the number of links connecting a given cluster to other cluster, the delta median entropy of each cluster (median entropy of a cluster after subtracting the minimum median entropy across all clusters), and the StemID2 score which is the product of both quantities for each cluster.
Usage
compscore(object, nn = 1, scthr = 0, show = TRUE)
Arguments
object |
|
nn |
Positive integer number. Number of higher order neighbors to be included for the determination of links: indirect connections via |
scthr |
Real number between zero and one. Score threshold for links to be included in the calculation. For |
show |
logical. If |
Value
A list ot three components:
links |
a vector with the number of significant links for each cluster. |
entropy |
a vector with the delta entropy for each cluster. |
StemIDscore |
a vector with the StemID score for each cluster. |