Learn R Programming

BiOFI (version 0.1.0)

IPS: IPS

Description

A function is used to compute the importance pair score (IPS) of the network returned by the TarNet() function.

Usage

IPS(TarnetPairs, IIS)

Value

IPS_res A data frame including the importance pair score (IPS) of the target network.

Arguments

TarnetPairs

The result returned by TarNet() function.

IIS

The result returned by IIS() function.

Examples

Run this code
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)
IPScore <- IPS(TarnetPairs = TarNet_res,IIS = IIScore)

Run the code above in your browser using DataLab