join_full_study_metadata: Join study metadata set

View source: R/joining-metadata.R

join_full_study_metadataR Documentation

Join study metadata set

Description

Join full study metadata set by specimenID and individualID. Note: this is currently limited in scope to just individualID, specimenID, and assay. Additionally, will give back error if only given assay(s) or a biospecimen file with no other metadata; OR if there is more than one individual or biospecimen metadata file associated with a study.

TODO: in case of above errors, should find a way to indicate which study cause the problem.

Usage

join_full_study_metadata(meta_files)

Arguments

meta_files

Dataframe with columns metadataType (assay, individual, or biospecimen), assay (type of assay), and data (nested dataframe with the metadata from the file).

Value

Dataframe with columns individualID, specimenID, assay.


Sage-Bionetworks/cleanAD documentation built on Dec. 9, 2024, 3:40 p.m.