powered by
Utility to update a provided soma_adat object's column metadata to match the annotations object.
soma_adat
updateColMeta(adat, anno)
An identical object to adat with Col.Meta updated to match those in anno.
adat
Col.Meta
anno
A soma_adat data object to update attributes.
A tibble containing analyte-specific annotations from read_annotations()
tibble
read_annotations()
Caleb Scheidel
Attempts to update the following column metadata in the adat:
SomaId
Target
TargetFullName
UniProt
Type
Organism
EntrezGeneSymbol
EntrezGeneID
if (FALSE) { anno_tbl <- read_annotations("path/to/annotations.xlsx") adat <- read_adat("path/to/adat_file.adat") updated_adat <- updateColMeta(adat, anno_tbl) }
Run the code above in your browser using DataLab