filterListByElements: Filter list by elements

View source: R/utils.R

filterListByElementsR Documentation

Filter list by elements

Description

Filter two level list by its secondary elements and remove empty items

Usage

filterListByElements(list, elements)

Arguments

list

A list.

elements

Character vector of elements to keep.

Value

List filtered according to elements argument.


Genentech/MiDAS documentation built on Feb. 5, 2024, 11:52 a.m.