Odds ratio shows the ratio between the probability of Group1 and Group2, indicating the risk between groups. run_OddRatio is used glm with scaled values to calculate coefficients of groups to obtain the 95% confidential interval.

run_OddRatio(datx, daty, GroupName)

Arguments

datx

(Required). Data.frame. Metadata with SampleID and Group information.

daty

(Required). Data.frame. Profile with SampleID, ordered by datx (Row->Features; Column->SampleID).

GroupName

(Required). Character. the contrast group.

Value

95% confidential interval Odds Ratio per feature

Author

Created by Hua Zou (12/13/2021 Guangzhou China)