Description Usage Arguments Value Examples

A method that integrates differential expression (DE) analysis and differential network (DN) analysis to select biomarker candidates for cancer studies. partial_cor is the second step of partial correlation calculation after the output result from select_rho_partial function.

1 2 | ```
partial_cor(data_list = NULL, rho_group1 = NULL, rho_group2 = NULL,
permutation = 1000, p_val = NULL, permutation_thres = 0.025)
``` |

`data_list` |
This is a list of pre-processed data outputed by the select_rho_partial function. |

`rho_group1` |
This is the rule for choosing rho for group 1, "min": minimum rho, "ste": one standard error from minimum, or user can input rho of their choice, the default is minimum. |

`rho_group2` |
This is the rule for choosing rho for group 1, "min": minimum rho, "ste": one standard error from minimum, or user can input rho of their choice, the default is minimum. |

`permutation` |
This is a positive integer of the desired number of permutations. The default is 1000 permutations. |

`p_val` |
This is optional. It is a data frame that contains p-values for each metabolite/molecule. |

`permutation_thres` |
This is the threshold for permutation. The defalut is 0.025 for each side to make 95 percent confidence. |

A list containing a score data frame with "MetID", "P_value", "Node Degree", "Activity_Score" and a differential network data frame with "Node1", "Node2", the binary link value and the weight link value.

1 2 3 4 5 6 | ```
# step 1: select_rho_partial
preprocess<- select_rho_partial(data = Met_GU, class_label = Met_Group_GU, id = Met_name_GU,
error_curve = "YES")
# step 2: partial_cor
partial_cor(data_list = preprocess, rho_group1 = 'min', rho_group2 = "min", permutation = 1000,
p_val = pvalue_M_GU, permutation_thres = 0.05)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.