Skip to contents

This function Sparrow Regression wrapped with the Rmpi::mpi parralel implementation. User specifies between sparrowZ, sparrow2Z, or sparrow2ZFDR implementation.

Usage

mpiWrapper(
  data,
  nodes,
  pathv,
  regressionFunction,
  outputpath,
  eigen = NULL,
  regulatorIndex = NULL,
  hosts = NULL
)

Arguments

data

Required. Expression matrix to be used for network construction.

nodes

Required. The number of nodes to run the process over.

pathv

Required.

regressionFunction

Required. Character vector specifying the specific sparrow regression function to deploy. Options are one of c("sparrowZ", "sparrow2Z", "sparrow2ZFDR")

outputpath

Required. The output path to save the resulting coexpression network

eigen

Optional. (Default = NULL)

regulatorIndex

Optional. (Default = NULL)

hosts

Optional. (Default = NULL)

Value

NULL. Saves a sparrow network object to paste0(`outputpath`, `regressionFunction`,'Network.csv')