[R] Merge List element by name
Mohammad Tanvir Ahamed
mashranga at yahoo.com
Sat Mar 7 23:01:57 CET 2015
Hi, I have a list like below :
> gg
[[1]] assembly1 GCA_000257985
[[2]] assembly1 GCA_000017125
[[3]] assembly1 GCA_000016805
[[4]] assembly1 GCA_000144955
[[5]] assembly isolation.source1 GCA_000507725 missing
[[6]] assembly isolation.source1 GCA_000507705 missing
[[7]] assembly1 GCA_000237265
[[8]] assembly location date host isolation.source1 GCA_000237125 Taiwan Jul-02 Homo sapiens pus/wound##############################################################now i want merge the list element and want output as below as data frame
Expected output :
assembly location date host isolation.sourceGCA_000257985 NA NA NA NA
GCA_000017125 NA NA NA NA
GCA_000016805 NA NA NA NA
GCA_000144955 NA NA NA NA
GCA_000507725 NA NA NA missing
GCA_000507705 NA NA NA missingGCA_000237265 NA NA NA NA
GCA_000237125 Taiwan Jul-02 Homo sapiens pus/wound
Any help will be very much appreciated . Thanks
Best regards
........................... Tanvir AhamedGöteborg, Sweden
[[alternative HTML version deleted]]
More information about the R-help
mailing list