get_tomic_table {romic}R Documentation

Get Tomic Table

Description

Extract one of the specific tables from a tomic object

Usage

get_tomic_table(tomic, table_type)

Arguments

tomic

Either a tidy_omic or triple_omic object

table_type

The type of table to extract from the tomic object.

tidy

one row per measurements with feature and sample attributes added. Equivalent to the $data field of a tidy omic object

measurements

one row per measurements defined a feature and sample foreign key. Equivalent to the $measurements field of a triple omic object

features

one row per feature defined by a feature primary key. Equivalent to the $features field of a triple omic object

samples

one row per sample defined by a sample primary key. Equivalent to the $samples field of a triple omic object

Value

a tibble matching the table_type of the tomic object

Examples

get_tomic_table(brauer_2008_triple, "samples")
get_tomic_table(brauer_2008_tidy, "features")

[Package romic version 1.1.3 Index]