Closed DM087 closed 3 years ago
I did saw that error before yet haven’t found out the root cause. I think for that we need to transform the target.pheno from a data.table object to a data.frame object (which for some reason is removed from this version of our script), will update it once I have time
Sam
From: DM087 notifications@github.com Reply-To: choishingwan/PRS-Tutorial reply@reply.github.com Date: Wednesday, November 25, 2020 at 4:22 PM To: choishingwan/PRS-Tutorial PRS-Tutorial@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [choishingwan/PRS-Tutorial] Lassosum tutorial : Error in validation step (#18)
Hi Sam,
The validation step in your lassosum tutorial throws an error
target.res <- validate(out, pheno = target.pheno, covar=cov) Error in setnames(x, value) : Can't assign 475 names to a 1 column data.table
Is it just me encountering this error? I managed to get it worked but would be great if you can update the code.
Best wishes, Dev
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Hi Sam,
The validation step in your lassosum tutorial throws an error
target.res <- validate(out, pheno = target.pheno, covar=cov) Error in setnames(x, value) : Can't assign 475 names to a 1 column data.table
Is it just me encountering this error? I managed to get it worked but would be great if you can update the code.
Best wishes, Dev