(snpStats) Error: Error in terms.formula(formula, special, data = data) : invalid term in model formula
0
0
Entering edit mode
@vickygarfield87-6995
Last seen 10.1 years ago
United Kingdom

I'm trying to run linear regressions between my genotypes and phenotype, but I keep getting an error, which I'm not familiar with...

 

 

 

My model is: res1 <- snp.rhs.estimates(formula=as.formula(paste(phenotype, "~ 1")), family="gaussian", data=pheno, snp.data=genotypes, uncertain = TRUE) 

and the error is:  Error in terms.formula(formula, special, data = data) :    invalid term in model formula

Any insight would be appreciated! Thanks!

 

 

 

 

 

 

software error snpStats • 1.8k views
ADD COMMENT

Login before adding your answer.

Traffic: 569 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6