revList {mdgsa} | R Documentation

## Revert an annotation list.

### Description

Inverts a list: names to elements / elements to names

### Usage

    revList(lis, tag = "listPos")

### Arguments

`lis` | annotation list.
`tag` | substitutes missing list names if any.

### Value

An inverted list.

### Author(s)

David Montaner dmontaner@cipf.es

### See Also

`annotMat2list`, `revList` annotMat2list, annotList2mat

### Examples

    lis <- list (Block1 = c("gen1", "gen2"), Block2 = c("gen1", "gen3"))
    revList (lis)

[Package mdgsa version 1.19.0 Index]