LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (October 2008, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Thu, 30 Oct 2008 15:37:22 -0500
Reply-To:   Mary <mlhoward@avalon.net>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Mary <mlhoward@AVALON.NET>
Subject:   Transpose wide question
Content-Type:   text/plain; format=flowed; charset="iso-8859-1"; reply-type=original

Could someone please tell me how to transpose this? I've got:

data affymetrix_long; set myoracle.affymetrix_long; keep affy_full_hageman_nbr snp_name allele_coding; run;

What I want is one line per affy_full_hageman_nbr, with the snp_name as the variable, and the allele_coding as the value. I tried this below but it is not right, somehow I need to tell it that I want the snp_name to be the variable names.

proc transpose data =affymetrix_long out =affymetrix_wide; id affy_full_hageman_nbr; var allele_coding; run;

-Mary


Back to: Top of message | Previous page | Main SAS-L page