View source: R/utilities_statistics.R
run_OddRatio | R Documentation |
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)
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. |
95% confidential interval Odds Ratio per feature
Created by Hua Zou (12/13/2021 Guangzhou China)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.