Open sahwa opened 2 weeks ago
Ah so it seems like the covariates have to be numeric, is that right?
Turning the factors into numeric solved the problem. But is it possible to be able to use categorical covariates?
Hi, thanks for the question. Yes, that is correct, the covariates provided by --covar must be numeric. I have now added a feature to accept categorical covariates (using the argument --factors) - which will be available in the next release (but until then, yes, you must convert factors to indicator variables)
Thanks
Hi Doug,
I am running into an error when LDAK is reading in the covariates file. I've tried changing the file from tab to space separated, removing any non-alphanumeric values from the variable names and the error still persists.
Any idea how I can fix this?
Best,
Sam
Here is the covariate file:
Best,
Sam