revList {mdgsa} | R Documentation |
Inverts a list: names to elements / elements to names
revList(lis, tag = "listPos")
lis |
annotation list. |
tag |
substitutes missing list names if any. |
An inverted list.
David Montaner dmontaner@cipf.es
annotMat2list
, revList
annotMat2list, annotList2mat
lis <- list (Block1 = c("gen1", "gen2"), Block2 = c("gen1", "gen3")) revList (lis)