This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Error in parse.pheno.covar(pheno = pheno, covar = covar, parsed = parsed.test, : length(pheno) == parsed$n is not TRUE

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

0 answers

No answers yet.

Log in to answer this question.