run_OddRatio: 95% confidential interval Odds Ratio

View source: R/utilities_statistics.R

run_OddRatioR Documentation

95% confidential interval Odds Ratio

Description

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.

Usage

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(s)

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


HuaZou/MicrobiomeAnalysis documentation built on May 13, 2024, 11:10 a.m.