Learn R Programming

isaeditor (version 0.1.1)

isa_ID_find: Find IDs of nodes or properties

Description

Find IDs of nodes or properties fullfilling specified criteria

Usage

isa_ID_find(x, node_pattern = NULL, value_pattern = NULL, prop_pattern = NULL)

Arguments

x

object of class isatab

node_pattern

return only nodes which match the given pattern

value_pattern

return only nodes which match one of the values

prop_pattern

return only nodes which match one of the properties

Value

Character vector of IDs

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.

See Also

'>isatab

Examples

Run this code
# NOT RUN {
file <- system.file('extdata', 
   'a_isatab.txt',
   package='isaeditor')
isa_a <- read_isa(file)
isa_ID_find(isa_a, node_pattern='.* Name')
isa_a[['ID34']]
# }

Run the code above in your browser using DataLab