Skip to contents

Get and set the file name for the investigation file in an object of ISA.

Usage

iFileName(x)

iFileName(x) <- value

# S4 method for ISA
iFileName(x)

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

Arguments

x

An object of class ISA.

value

A length-one character vector indicating the name of the investigation file, a string starting with "i_" and ending in ".txt"

Value

The file name of the investigation file.

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 file name.
iFileName(isaObject1)
#> [1] "i_Investigation.txt"