[R] transpose ?

From: Mohamed Lajnef <Mohamed.lajnef_at_inserm.fr>
Date: Wed, 25 May 2011 16:07:01 +0200


Dear All,
Suppose this data.frame
D

V7 V8 V9 V10 V11 V12 V13 V14 V15 V16 V17 V18 V19 V20 V21 V22 C C C C T T G G A A C C G G C C G G T T A A A A T A T T C C G G C C C C T T G G A A C C G G C C

I would translate D as follow ( just for the first line) C (V7)

	C (V9)
	T 	G 	A 	C 	G 	C
C (V8)
	C (V10)
	T 	G 	A 	C 	G 	C


Any help would be appreciated

Regards
M

-- 

####################################
Mohamed Lajnef,IE INSERM U955 eq 15# Pôle de Psychiatrie # Hôpital CHENEVIER # 40, rue Mesly # 94010 CRETEIL Cedex FRANCE # Mohamed.lajnef_at_inserm.fr # tel : 01 49 81 32 79 # Sec : 01 49 81 32 90 # fax : 01 49 81 30 99 #
####################################
[[alternative HTML version deleted]]

______________________________________________ R-help_at_r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

Received on Wed 25 May 2011 - 14:10:57 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 25 May 2011 - 14:30:09 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive