Skip to contents

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

Usage

sProts(x)

sProts(x) <- value

# S4 method for ISA
sProts(x)

# S4 method for 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)
#> $GMI_Atwell_study
#>   Study Protocol Name Study Protocol Type
#> 1              Growth              Growth
#> 2         Phenotyping         Phenotyping
#> 3 Data transformation Data transformation
#>   Study Protocol Type Term Accession Number Study Protocol Type Term Source REF
#> 1                                      <NA>                                <NA>
#> 2                                      <NA>                                <NA>
#> 3                                      <NA>                                <NA>
#>   Study Protocol Description Study Protocol URI Study Protocol Version
#> 1                       <NA>               <NA>                   <NA>
#> 2                       <NA>               <NA>                   <NA>
#> 3                       <NA>               <NA>                   <NA>
#>                                   Study Protocol Parameters Name
#> 1 Study start;Study duration;Growth facility;Geographic location
#> 2                            Trait Definition File;Organism part
#> 3                                                           <NA>
#>   Study Protocol Parameters Name Term Accession Number
#> 1                                                  ;;;
#> 2                                                    ;
#> 3                                                 <NA>
#>   Study Protocol Parameters Name Term Source REF Study Protocol Components Name
#> 1                                            ;;;                           <NA>
#> 2                                              ;                           <NA>
#> 3                                           <NA>                           <NA>
#>   Study Protocol Components Type
#> 1                           <NA>
#> 2                           <NA>
#> 3                           <NA>
#>   Study Protocol Components Type Term Accession Number
#> 1                                                 <NA>
#> 2                                                 <NA>
#> 3                                                 <NA>
#>   Study Protocol Components Type Term Source REF
#> 1                                           <NA>
#> 2                                           <NA>
#> 3                                           <NA>
#>