Re: [R] extract duplications from list

2014-05-19 Thread arun
Hi, You may try: myList <- list(structure(list(X = c("FBgn008", "FBgn014", "FBgn028", "FBgn109", "FBgn114", "FBgn120"), NAME = c("FBgn008", "FBgn014", "FBgn028", "FBgn109", "FBgn114", "FBgn120" ), MEM.SHIP = c(0.9304502, 1, 1, 1, 0.4839886, 1)),

Re: [R] extract duplications from list

2014-05-19 Thread jim holtman
Here is one way of doing it: ## > files <- list(file1 = "XNAME MEM.SHIP + 1 FBgn008 FBgn008 0.9304502 + 2 FBgn014 FBgn014 1.000 + 3 FBgn028 FBgn028 1.000 + 4 FBgn109 FBgn109 1.000 + 5 FBgn114 FBgn114

[R] extract duplications from list

2014-05-19 Thread Assa Yeroslaviz
Hi, I have a list of 40 data.frames. I would like to identify duplicated entries in the whole list, not only in one specific data.frame, but in all 40. Here is my list: > myList [[1]] XNAME MEM.SHIP 1 FBgn008 FBgn008 0.9304502 2 FBgn014 FBgn014 1.000 3 F