Learn R Programming

propr (version 4.2.6)

lr2glm: Build a Generalized Linear Model from CLR Data

Description

This function builds a generalized linear model from log-ratio transformed data.

Usage

lr2glm(lr, model.matrix, ...)

Arguments

lr

A data.frame. A log-ratio transformed counts matrix.

model.matrix

A model.matrix.

...

Arguments passed to glm.

Value

Returns a data.frame of the estimated coefficients and their p-values for each feature, with FDR appended as a BH column.