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

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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 828 views
  • 0 likes
  • 2 in conversation