TarNet: TarNet

View source: R/TarNet.R

TarNetR Documentation

TarNet

Description

A function is used to plot a network that consists of microbes and metabolites in the shared pathway from the result of MMfunc() function.

Usage

TarNet(IIS, mm2path, r = 0.1, p_adjust = 0.05)

Arguments

IIS

The result returned by IIS() function.

mm2path

The results returned by MMfunc() function.

r

A threshold value of correlation coefficient to construct the network. Default value is 0.1.

p_adjust

A threshold value of correlation adjust p value to construct the network. Default value is 0.05.

Value

TarnetPairs A data frame including target network pairs.

Examples

IIScore <- IIS(microApath = micro.eg, metaApath = metabo.eg,
               conf = confounder.eg, groupInfo = groupInfo.eg)
MMfunc_res <- MMfunc(IIS = IIScore)
TarNet_res <- TarNet(IIS = IIScore, mm2path = MMfunc_res)

BiOFI documentation built on Sept. 22, 2022, 9:07 a.m.

Related to TarNet in BiOFI...