unfold: Access and hide IC metadata

unfoldR Documentation

Access and hide IC metadata

Description

unfold() helps unpack metadata associated with ion count data loaded with read_IC(). fold() does the opposite an hides the metadata as attribute of the tibble.

Usage

unfold(df, type = "metadata", merge = TRUE)

fold(df, type, meta = NULL)

Arguments

df

A tibble containing ion count data along any point of the point- workflow

type

A character string identifying the metadata (default: "metadata")

merge

Logical dictating whether metadata is joined to the tibble or returned as a separate file.

meta

Additional tibble containing the metadata for storage along the main IC data.

Value

A tibble with metadata as an attribute, columns or as a seperate tibble.

Examples

tb_rw <- read_IC(point_example("2018-01-19-GLENDON"), hide = TRUE)

# Unfold metadata
unfold(tb_rw, merge = FALSE)

MartinSchobben/point documentation built on May 22, 2022, 7:15 a.m.