choishingwan / PRS-Tutorial

A tutorial on how to run basic polygenic risk score analysis
MIT License
68 stars 104 forks source link

No application for fam variable in the Lassosum #39

Closed fmadani closed 2 years ago

fmadani commented 2 years ago

Hi @choishingwan

In the Lassosum, fam variable is generated through these codes:

fam <- fread(paste0(bfile, ".fam")) fam[,ID:=do.call(paste, c(.SD, sep=":")),.SDcols=c(1:2)]

but, there is no usage for 'fam' in the lassosum. Please clarify

Thank you, Farshad

choishingwan commented 2 years ago

Right, unless you are doing sample filtering, you can ignore that. I forgot to remove it from the script as this was originally an excerpt from my lassosum script that was used for other analyses

On Tue, Mar 1, 2022 at 4:49 PM Farshad Madani @.***> wrote:

Hi @choishingwan https://github.com/choishingwan

In the Lassosum, fam variable is generated through these codes:

fam <- fread(paste0(bfile, ".fam")) fam[,ID:=do.call(paste, c(.SD, sep=":")),.SDcols=c(1:2)]

but, there is no usage for 'fam' in the lassosum. Please clarify

Thank you, Farshad

— Reply to this email directly, view it on GitHub https://github.com/choishingwan/PRS-Tutorial/issues/39, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJTRYRXAU3MYOINRRFWB2LU52GGZANCNFSM5PVIALVQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

fmadani commented 2 years ago

Thank you Sam for the clarification