sFacts: Get and set sFacts.

sFactsR Documentation

Get and set sFacts.

Description

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

Usage

sFacts(x)

sFacts(x) <- value

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

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

Arguments

x

An object of class ISA.

value

A list of data.frames containing the study factors. In each data.frame at least the following columns are present: 'Study Factor Name', 'Study Factor Type', 'Study Factor Type Term Accession Number', 'Study Factor Type Term Source REF'.

Value

A list of data.frames containing the study factors.

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 sFacts data.frames.
sFacts(isaObject1)


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