View source: R/generalized_estimating_equations.R
gee_test | R Documentation |
To estimate the relationship bwtween features/taxa and phenotypes.
gee_test(physeq, variable, adjust_covariates, PID, pcutoff)
physeq |
(Required). A |
variable |
(Required). A character string as the measurement (repeated responses). |
adjust_covariates |
(optional). A set of Characters string that are covariates. information. |
PID |
(Required) the repeated subjects |
15/01/2020 ShenZhen China
Returns a data.frame with the results of gee.
Hua Zou
library(dplyr)
library(geepack)
data("physeq_data")
physeq <- physeq_data
variable <- c("BMI", "Glycine")
adjust_covariates <- c("Age", "Sex")
PID <- "ID"
pcutoff <- 0.05
gee_test(physeq, variable, adjust_covariates, PID, pcutoff)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.