Learn R Programming

metaboGSE (version 1.2.5)

rescueDist: Compute distances of rescue reactions

Description

The function rescueDist computes the distances (similarities) between rescue reactions.

Usage

rescueDist(
  model,
  mc.cores = 1,
  gene.num = 1,
  draw.num = 1000,
  tol = SYBIL_SETTINGS("TOLERANCE")
)

Arguments

model

An object of class modelorg.

mc.cores

The number of cores to use (at least 1), i.e. at most how many child processes will be run simultaneously. Default: 1.

gene.num

The number of genes to remove. If 1, oneGeneDel will be performed and draw.num will be ignored. Default: 1.

draw.num

The number of random draws. Default: 1000. It is ignored when gene.nume = 1.

tol

The maximum value to be considered null. Default: SYBIL_SETTINGS("TOLERANCE").

Value

An object of class dist, containing distances between rescue reactions in the given model.