Add nested library information to a patient-level data frame

nest_libraries_by_patient(patients.df, libraries.df, key = "tfl_id")

Arguments

patients.df

Data frame containing patient-level data.

libraries.df

Data frame containing library-level data.

key

Key to join the two data-frames by (default is 'tfl_id').

Value

patients.w_libs.df A data frame patients with nested library information