node_list: Lists all the nodes in an isatab object

Description Usage Arguments Details Value Examples

View source: R/listing.R

Description

Lists all the nodes in an isatab object

Usage

1
2
3
4
5
6
7
node_list(x)

node_show(x, node_id)

node_select(x, node_id, inverse = FALSE)

prop_select(x, prop_id, inverse = FALSE)

Arguments

x

object of class isatab

node_id

ID of a node to show

inverse

if TRUE, inverses the selection

prop_id

property IDs to be selected

Details

node_list returns a data frame with one row per node, showing the number of properties associated with a given node and a summary of values for that node.

node_show returns a data frame for a given node_id listing all properties associated with that node and a summary of values for each of the properties.

node_select returns a new object of class isatab containing only the selected nodes.

prop_select returns a new object of class isatab containing only the selected property IDs (which may not be node IDs!).

Value

Functions node_list and node_show return a data.frame like object. Functions node_select and prop_select return an object of class isatab.

Examples

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

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