BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
MajaFerencakovic
Fluorite | Level 6

Hello to all! Smiley Happy

Today I started some serious work in SAS/Genetics and found a problem :smileyconfused:

I would like to get composite LD correlation matrix or at least table then I will find a way to create matrix from it (probably will post another question here).

So I am interested in Composite LD which can be obtained using proc allele with haplo = none or nonhwd. Later on I must perform PCA on this matrix...

Does anyone knows how to get LD values in sas table or matrix as output when using proc allele???

Thanks in advance!

Maja

1 ACCEPTED SOLUTION

Accepted Solutions
SteveDenham
Jade | Level 19

ODS OUTPUT is probably what you will need.  If you specify any of the options

CORRCOEFF, DELTA, DPRIME, PROPDIFF, RHO, or YULESQ

then using

ods output ldmeasures=ldmeasures;

will give a dataset with the results I think you are looking for.

Steve Denham

View solution in original post

2 REPLIES 2
SteveDenham
Jade | Level 19

ODS OUTPUT is probably what you will need.  If you specify any of the options

CORRCOEFF, DELTA, DPRIME, PROPDIFF, RHO, or YULESQ

then using

ods output ldmeasures=ldmeasures;

will give a dataset with the results I think you are looking for.

Steve Denham

MajaFerencakovic
Fluorite | Level 6

Yes,

that looks OK.

Thank you for your help Smiley Happy

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1579 views
  • 0 likes
  • 2 in conversation