R/netFun.R

Defines functions netFun

Documented in netFun

#' netFun
#'
#' This is the network reconstruction function that will be used to build aggregate networks.
#' @param x Numeric matrix with samples in columns.
#' @keywords netFun
#' @export
#' @examples
#' netFun()


netFun <- function(x) {
    stats::cor(t(x), method="pearson") 
}

Try the lionessR package in your browser

Any scripts or data that you put into this service are public.

lionessR documentation built on Nov. 8, 2020, 8:08 p.m.