iddata: Retrieve Feature Identities

idDataR Documentation

Retrieve Feature Identities

Description

This retrieves user-assigned feature identities from one or all constituent datasets of a metabCombiner object

Usage

idData(object, data = NULL)

## S4 method for signature 'metabCombiner'
idData(object, data = NULL)

Arguments

object

metabCombiner object

data

dataset identifier to extract information from; if NULL, extracts information from all datasets

Value

data frame of feature identities

Examples

data(plasma30)
data(plasma20)

p30 <- metabData(head(plasma30,500), samples = "CHEAR")
p20 <- metabData(head(plasma20,500), samples = "Red")
p.comb <- metabCombiner(p30, p20, xid = "p30", yid = "p20")

##retrieve all ids
ids <- idData(p.comb, data = NULL)

##retrieve ids from p30
ids <- idData(p.comb, data = "p30")


hhabra/Combiner documentation built on June 5, 2024, 10:56 a.m.