glmr: Do the generalized linear model regression

View source: R/glmr.R

glmrR Documentation

Do the generalized linear model regression

Description

Do the generalized linear model regression

Usage

glmr(
  physeq,
  group,
  factors = NULL,
  ref = NULL,
  family = binomial(link = "logit")
)

Arguments

physeq

phyloseq object

group

the group factor to regression

factors

a vector to indicate adjuested factors

ref

the reference group

family

binomial() or gaussian()

Author(s)

Kai Guo

Examples


data("Physeq")
phy<-normalize(physeq)
fit <-glmr(phy,group="SampleType")


guokai8/microbial documentation built on Oct. 15, 2024, 11:32 p.m.