Error in parse.pheno.covar(pheno = pheno, covar = covar, parsed = parsed.test, : length(pheno) == parsed$n is not TRUE
0
0
Entering edit mode
19 months ago
Mahan ▴ 70

I'm running lassosum by following the steps on their github page.

I'm at the following step:

v <- validate(out, pheno=pheno) # Alternatively, specify the phenotype in the argument

I have supplied pheno from a dataframe as follows

v <- validate(out, pheno=pheno$status)

However I'm getting the following error. Can you please suggest why its happenin and how I can resolve it?

Error in parse.pheno.covar(pheno = pheno, covar = covar, parsed = parsed.test,  :    length(pheno) == parsed$n is not TRUE
lassosum prs pheno • 398 views
ADD COMMENT

Login before adding your answer.

Traffic: 1818 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