isa_properties: Show properties associated with a node ID

Description Usage Arguments Details Value See Also Examples

View source: R/isatools.R

Description

Show properties associated with a node ID

Usage

1
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

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

isaeditor documentation built on Sept. 29, 2021, 9:08 a.m.