avgNormDiff {netDx} | R Documentation |
takes average of normdiff of each row in x
avgNormDiff(x)
x |
(numeric) matrix of values, one column per patient (e.g. ages) |
symmetric matrix of size ncol(dat) (number of patients) containing pairwise patient similarities
data(xpr) sim <- avgNormDiff(xpr[,seq_len(2)])