#' Returns protein connectivity values from correlation data
#'
#' @param data symmetric correlation matrix
#'
#' @return
#' @export
#'
#'
connectivityFromCor <- function(data) {
diag(data) <- 0
con <- apply(data, 2, sum)
names(con) <- rownames(data)
con
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.