list_rev: Reverse list

View source: R/utilities.R

list_revR Documentation

Reverse list

Description

Reverse list from list names to elements mapping to elements to names mapping.

Usage

list_rev(list)

Arguments

list

input list with names slot

Value

list

Examples

list <- list("n1"=c("e1", "e2", "e4"), "n2"=c("e1", "e5"))
list_rev(list)

girke-lab/signatureSearch documentation built on Feb. 21, 2024, 8:32 a.m.