pvalue_logit: Obtain p-values using logistic regression

Description Usage Arguments Value

Description

Calculate p-values using logistic regression. This function is used in both partial_cor.R and non_partial_corr.R in cases where p-values are not provided

Usage

1
pvalue_logit(x, class_label, Met_name)

Arguments

x

This is a data frame consists of data from group 1 and group 2.

class_label

This is a binary array indicating 0 for group 1 and 1 for group 2.

Met_name

This is an array of IDs.

Value

p-values


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