Entering edit mode
2.2 years 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