[R] How to retrieve data from a matrix

ginger biino at igm.cnr.it
Fri Nov 16 12:27:37 CET 2012


I have a data set (data.txt) containing information on affection status
(1=affected; 0=not affected) for some subjects identified by an ID. Then I
have a sort of correlation matrix of the same subjects (matrix.txt). For
each affected subject in the data set I have to retrieve the IDs of
unaffected subjects from the matrix (if the condition “affected-unaffected
correlation<0.0165” is satisfied) and such IDs should  be placed in new
columns of the data set on the affected subject corresponding row.
Does anybody can help me?
data.txt <http://r.789695.n4.nabble.com/file/n4649721/data.txt>   matrix.txt
<http://r.789695.n4.nabble.com/file/n4649721/matrix.txt>  



--
View this message in context: http://r.789695.n4.nabble.com/How-to-retrieve-data-from-a-matrix-tp4649721.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list