This function normalizes similarity matrix.
Normalized similarity matrix.
## The function is currently defined as
meanVec <- apply(sim, 1, mean, na.rm = TRUE)
sdVec <- apply(sim, 1, sd, na.rm = TRUE)
sim <- t(scale(t(sim), meanVec, sdVec))
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.