nest_libraries_by_patient.Rd
Add nested library information to a patient-level data frame
nest_libraries_by_patient(patients.df, libraries.df, key = "tfl_id")
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'). |
patients.w_libs.df A data frame patients with nested library information