theislab / scCODA

A Bayesian model for compositional single-cell data analysis
BSD 3-Clause "New" or "Revised" License
141 stars 23 forks source link

Use the model with multiple covariants including numeric ones? #88

Closed RunyuXia closed 1 month ago

RunyuXia commented 5 months ago

Hi! I was wondering if the model could be used with three categorical variables (sex, genotype) as well as a numeric variable (age) at the same time?

johannesostner commented 5 months ago

Hi! Yes, scCODA supports the use of multiple variables from different types. You have to make sure that your numeric variables are normalized, though. Otherwise, their effects might become very small, which will lead to them being dropped in the variable selection process