lstjoin: Joins for lists.

lstjoinR Documentation

Joins for lists.

Description

These functions join lists by matching elements by name. In the case of lst_left_join lst_x is used as reference for traversal and its names are looked for in lst_y for joining. In the case of lst_left_join, lst_y is used as reference. lst_inner_join only uses names common to both lst_x and lst_y for combining elements.

Usage

lst_left_join(lst_x, lst_y)

lst_right_join(lst_x, lst_y)

lst_inner_join(lst_x, lst_y)

plst_left_join(list_of_lsts)

plst_right_join(list_of_lsts)

plst_inner_join(list_of_lsts)

Arguments

lst_x, lst_y

lists.

list_of_lsts

A list of lists to be joined together.

Details

The functions plst_left_join, plst_right_join and plst_inner_join are parallel versions that allow joining more than two lists easily, i.e., just pass a list of lists to be joined.

Value

A list.


gwasrapidd documentation built on May 29, 2024, 4:31 a.m.