ggloor / ALDEx2_dev

ALDEx tool to examine compositional high-throughput sequence data with Welch's t-test
GNU Affero General Public License v3.0
12 stars 6 forks source link

Generalized Linear model type and Random effect #29

Open Abbie-Williams opened 2 years ago

Abbie-Williams commented 2 years ago

I've been searching through the documentation, and I cannot seem to find what the GLM model is (family, link type). Is it possible to specify this within the glm function, and is it also possible to specify fixed effects within the model?

ggloor commented 2 years ago

the aldex.glm takes optional arguments which (in theory) should allow you to define your model specifically. The base glm is just this function: glm(x ~ model., ...) and the model is specified in the matrix, and other parameters you want to pass to glm() should follow the verbose=FALSE parameter.