sProts: Get and set sProts.

sProtsR Documentation

Get and set sProts.

Description

Get and set the list of sProts data.frames in an object of ISA.

Usage

sProts(x)

sProts(x) <- value

## S4 method for signature 'ISA'
sProts(x)

## S4 replacement method for signature 'ISA'
sProts(x) <- value

Arguments

x

An object of class ISA.

value

A list of data.frames containing the study protocols. In each data.frame at least the following columns are present: 'Study Protocol Name', 'Study Protocol Type', 'Study Protocol Type Term Accession Number', 'Study Protocol Type Term Source REF', 'Study Protocol Description', 'Study Protocol URI', 'Study Protocol Version', 'Study Protocol Parameters Name', 'Study Protocol Parameters Name Term Accession Number', 'Study Protocol Parameters Name Term Source REF', 'Study Protocol Components Name', 'Study Protocol Components Type', 'Study Protocol Components Type Term Accession Number', 'Study Protocol Components Type Term Source REF'.

Value

A list of data.frames containing the study protocols.

The updated object of class ISA.

Examples

## Read example Atwell data set.
isaObject1 <- readISATab(path = file.path(system.file("extdata/Atwell",
                                          package = "isatabr")))

## Extract list of sProts data.frames.
sProts(isaObject1)


isatabr documentation built on Aug. 19, 2022, 5:17 p.m.