glmr: Do the generalized linear model regression

Description Usage Arguments Author(s) Examples

View source: R/glmr.R

Description

Do the generalized linear model regression

Usage

1
2
3
4
5
6
7
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

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

guokai8/microbial documentation built on Nov. 10, 2021, 1:43 a.m.