broadinstitute / tensorqtl

Ultrafast GPU-enabled QTL mapper
BSD 3-Clause "New" or "Revised" License
162 stars 52 forks source link

Are genotypes only numeric? Can they be categorical? #152

Open ysc12451 opened 2 months ago

ysc12451 commented 2 months ago

It seems that by default the genotypes are considered as numeric variables, like 0/0 as number 0, 0/1 as number 1, 1/1 as number 2. I am wondering whether tensorQTL can treat them as categorical variables (like factors) and run. Thanks!