read_metadata: Import Metadata

View source: R/read_metadata.R

read_metadataR Documentation

Import Metadata

Description

Reads metadata associated with an ANKOM RF experiment.

Usage

read_metadata(file, sheet = "metadata")

Arguments

file

Path to a metadata file.

sheet

Sheet name containing metadata.

Details

Metadata are used to identify bottles, treatments, replicates, and other experimental information required for downstream analyses.

This function is typically used together with:

  • read_ankom()

  • process_ankom()

as part of the standard ANKOM workflow.

Value

A data frame containing experimental metadata.

See Also

read_ankom, process_ankom, validate_metadata, example_data

Examples


files <- example_data()

metadata <- read_metadata(
  files$metadata
)

head(
  metadata
)

# Typical workflow
raw_data <- read_ankom(
  files$ankom
)

gp <- process_ankom(
  raw_data,
  metadata,
  headspace_ml = 210,
  temperature_c = 39
)

head(
  gp
)


rumenGP documentation built on Oct. 2, 2026, 5:09 p.m.