liangyy / mixqtl

Total and allele specific read based cis-QTL, fine-mapping, and prediction
GNU Lesser General Public License v2.1
4 stars 6 forks source link

Interaction QTL and AI #6

Closed mikelove closed 3 years ago

mikelove commented 3 years ago

hi Yanyu,

We are very interested in trying out mixQTL on a dataset at UNC.

Are you planning to add support for interaction terms? E.g. we are interested in detecting genes significant for the last term in this formula:

total count ~ C * exp(X beta) 
# with X defined by the following R formula
~condition + genotype + condition:genotype

likewise for allelic imbalance, e.g. cases where the allelic imbalance changes with respect to a condition, something like

log(allele1/allele2) = X beta

but with X again having a condition x genotype term, and here the condition main effect term drops out because it affects both alleles of the same sample equally.

liangyy commented 3 years ago

Hi @mikelove,

Thanks for your interest in trying out mixQTL!

Currently, as you know, mixQTL does not support an interaction term. We (I and @hakyim) have not thought about adding an interaction term before but It sounds like an interesting functionality to add!

Here are some thoughts on the implementation side. As you suggested, we can run

Thanks!

Yanyu

mikelove commented 3 years ago

Thanks Yanyu for the reply! I'll let you know what we end up trying.