choishingwan / PRSice

A software package for calculating, applying, evaluating and plotting the results of polygenic risk scores
http://prsice.info
GNU General Public License v3.0
185 stars 88 forks source link

Viewing quantile specific IIDs #223

Closed ssharma08 closed 4 years ago

ssharma08 commented 4 years ago

Hi,

I was wondering how I could view the sample IIDs within each specific quantile? I know the quantile.txt output shows you the number of samples within each quantile but can I view which samples they are? For example, if I wanted to make a file with all the sample IIDs and polygenic risk scores just from quantile 5 - how could I do that?

Thank you!

choishingwan commented 4 years ago

As of now, that information wasn't available. You can maybe modify the Rscript to generate that. I think you might be able to get an output call in line 994 to output the pheno.merge object. That should in theory contain both the quantile information and the sample ID.

On Mon, Aug 24, 2020 at 2:41 AM ssharma08 notifications@github.com wrote:

Hi,

I was wondering how I could view the sample IIDs within each specific quantile? I know the quantile.txt output shows you the number of samples within each quantile but can I view which samples they are? For example, if I wanted to make a file with all the sample IIDs and polygenic risk scores just from quantile 5 - how could I do that?

Thank you!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/choishingwan/PRSice/issues/223, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJTRYQKC2ENIXSWARTXHFTSCFPFDANCNFSM4QIZTKZQ .

ssharma08 commented 4 years ago

I see - thank you!