Hi friends,
I have got a list where each element might have variable number of members. 
$`4213`
[1] "214077_x_at"

$`164832`
[1] "225996_at" "235977_at"

$`339010`
[1] NA

$`23410`
[1] "221562_s_at" "221913_at"   "49327_at"   

$`285386`
[1] "229764_at"

$`2099`
[1] "205225_at"   "211233_x_at" "211234_x_at" "211235_s_at"
[5] "211627_x_at" "215551_at"   "215552_s_at" "217163_at"  
[9] "217190_x_at"

I want to integrate this list in a matrix format like this :

4213 "214077_x_at"
164832  "225996_at"
164832 "235977_at"

339010 NA
23410 "221562_s_at"
23410 "221913_at"
23410 "49327_at"  
....

Any idea how can I make such type of matrix ?


Thanks,
Vickie



                                          
        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to