Categorical covariates in association analyses


At the moment you can only include continuous or boolean covariates. It would be great if categorical variables could also be used as covariates. It’s just a matter of turning each unique value into a boolean dummy variable, but it’s a common use case, so it would be nice if you wouldn’t have to do it manually.


This is a great idea. I’m not sure what exactly it should look like, maybe a method that one-hot-encodes a field given and returns a new dataset.


Enumeration types are a good fit for this use case.