updateColMeta: Update Col.Meta Attribute to Match Annotations Object

View source: R/updateColMeta.R

updateColMetaR Documentation

Update Col.Meta Attribute to Match Annotations Object

Description

Utility to update a provided soma_adat object's column metadata to match the annotations object.

Usage

updateColMeta(adat, anno)

Arguments

adat

A soma_adat data object to update attributes.

anno

A tibble containing analyte-specific annotations from read_annotations()

Details

Attempts to update the following column metadata in the adat:

  • SomaId

  • Target

  • TargetFullName

  • UniProt

  • Type

  • Organism

  • EntrezGeneSymbol

  • EntrezGeneID

Value

An identical object to adat with Col.Meta updated to match those in anno.

Author(s)

Caleb Scheidel

Examples

## Not run: 
 anno_tbl     <- read_annotations("path/to/annotations.xlsx")
 adat         <- read_adat("path/to/adat_file.adat")
 updated_adat <- updateColMeta(adat, anno_tbl)

## End(Not run)

SomaDataIO documentation built on May 5, 2026, 1:07 a.m.