Skip to contents

Get and set the iContacts data.frame in an object of ISA.

Usage

iContacts(x)

iContacts(x) <- value

# S4 method for ISA
iContacts(x)

# S4 method for ISA
iContacts(x) <- value

Arguments

x

An object of class ISA.

value

A data.frame containing the investigation contacts information. A data.frame in which at least the following columns are present: 'Investigation Person Last Name', 'Investigation Person First Name', 'Investigation Person Mid Initials', 'Investigation Person Email', 'Investigation Person Phone', 'Investigation Person Fax', 'Investigation Person Address', 'Investigation Person Affiliation', 'Investigation Person Roles', 'Investigation Person Roles Term Accession Number', 'Investigation Person Roles Term Source REF'.

Value

A data.frame containing the investigation contacts information.

The updated object of class ISA.

Examples

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

## Extract iContacts data.frame.
iContacts(isaObject1)
#>   Investigation Person Last Name Investigation Person First Name
#> 1                         Atwell                         Susanna
#> 2                          Uemit                           Seren
#>   Investigation Person Mid Initials Investigation Person Email
#> 1                              <NA>        satwell@ucdavis.edu
#> 2                              <NA> uemit.seren@gmi.oeaw.ac.at
#>   Investigation Person Phone Investigation Person Fax
#> 1                       <NA>                     <NA>
#> 2                       <NA>                     <NA>
#>   Investigation Person Address
#> 1                         <NA>
#> 2                         <NA>
#>                                         Investigation Person Affiliation
#> 1                                         Plant Sciences, UC Davies, USA
#> 2 Gregor Mendel Institute, Austrian Academy of Sciences, Vienna, Austria
#>   Investigation Person Roles
#> 1               investigator
#> 2   data coder; data analyst
#>                             Investigation Person Roles Term Accession Number
#> 1                                       http://www.ebi.ac.uk/efo/EFO_0001739
#> 2 http://www.ebi.ac.uk/efo/EFO_0001735; http://www.ebi.ac.uk/efo/EFO_0001734
#>   Investigation Person Roles Term Source REF
#> 1                                        EFO
#> 2                                    EFO;EFO