resolve_overlap: Flatten each list in a dataframe

Description Usage Arguments Value

Description

Dataframes may contain such a column that contains strings, in which items are joined by some delimiter. This makes it difficult to perform analysis in individual items in the strings. This function creates a new vector with each element containing one item in the strings. Each ittem has an ID label from the original dataframe.

Usage

1
resolve_overlap(x_df, feature, ID_col)

Arguments

x_df

a dataframe

feature

which column to extract the features

ID_col

which column becomes the ID for the new features

Value

a named vector


ayanglab/How-to-Perform-Technical-Systematic-Review-And-Meta-Analysis-Tutorial documentation built on Feb. 7, 2022, 12:45 a.m.