TarNet | R Documentation |
A function is used to plot a network that consists of microbes and metabolites in the shared pathway from the result of MMfunc() function.
TarNet(IIS, mm2path, r = 0.1, p_adjust = 0.05)
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. |
TarnetPairs A data frame including target network pairs.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.