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

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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