glmr {microbial}R 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")


[Package microbial version 0.0.21 Index]