getStudyFileNames: Retrieve the Study Identifier(s) and Study File Name(s) from...

View source: R/setInfo.R

getStudyFileNamesR Documentation

Retrieve the Study Identifier(s) and Study File Name(s) from an ISA object.

Description

Retrieve from an object of the ISA-class the Study Identifier(s) and Study File Name(s) as contained in the Investigation. To directly access the Study Identifier(s) use the names() function, e.g. names(getStudyFileNames(isaObject)).

Usage

getStudyFileNames(isaObject)

Arguments

isaObject

An object of the ISA-class.

Value

A named character vector containing the Study File Name(s) and the name(s) representing the Study Identifier(s).

Examples

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

## Extract study identifiers and file names.
getStudyFileNames(isaObject1)


isatabr documentation built on Aug. 19, 2022, 5:17 p.m.