partial_cor: Partial correlaton analysis

Description Usage Arguments Value Examples

Description

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.

Usage

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

Arguments

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.

Value

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.

Examples

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)

kg737/INDEED_Patch documentation built on May 22, 2019, 6:32 p.m.