isa_properties: Show properties associated with a node ID

View source: R/isatools.R

isa_propertiesR Documentation

Show properties associated with a node ID

Description

Show properties associated with a node ID

Usage

isa_properties(x, node_id)

Arguments

x

object of class isatab

node_id

ID of a node

Details

Note: IDs are a thing internal to this R package. They are not imported from or exported to actual ISA-tab files. However, given that the node 'identifiers' (e.g. 'Sample Name') can be ambiguous, IDs are necessary to unambiguously identify a node.

Value

Returns a named character vector. Names are the IDs of properties associated with a given node, and values are the property names.

See Also

isatab, isa_nodes()

Examples

file <- system.file('extdata', 's_isatab.txt', package='isaeditor')
isa_s <- read_isa(file)
isa_properties(isa_s, 'ID1')

bihealth/isaeditor documentation built on Feb. 8, 2025, 2:23 p.m.