Skip to contents

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

Usage

invest(x)

invest(x) <- value

# S4 method for ISA
invest(x)

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

Arguments

x

An object of class ISA.

value

A data.frame containing the investigation information. A data.frame in which at least the following columns are present: 'Investigation Identifier', 'Investigation Title', 'Investigation Description', 'Investigation Submission Date', 'Investigation Public Release Date'.

Value

A data.frame containing the investigation 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 investigation data.frame.
invest(isaObject1)
#>   Investigation Identifier        Investigation Title
#> 1       GMI_Atwell_2010_v2 Atwell et al., Nature 2010
#>                                                                        Investigation Description
#> 1 GWAS of 107 phenotypes in Arabidopsis thaliana inbred lines using ~250k SNPs in 199 accessions
#>   Investigation Submission Date Investigation Public Release Date
#> 1                    2013-06-27                        2010-06-03
#>   Comment[Created with configuration] Comment[Last Opened With Configuration]
#> 1         isaconfig-phenotyping-basic             isaconfig-phenotyping-basic