Skip to contents

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

Usage

sFacts(x)

sFacts(x) <- value

# S4 method for ISA
sFacts(x)

# S4 method for 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)
#> $GMI_Atwell_study
#> [1] Study Factor Name                      
#> [2] Study Factor Type                      
#> [3] Study Factor Type Term Accession Number
#> [4] Study Factor Type Term Source REF      
#> <0 rows> (or 0-length row.names)
#>