readISATab {isatabr} | R Documentation |
Read an ISA-Tab dataset into an R object.
Description
Reads an ISA-Tab dataset, given as a zip file or as a set of files in a specific folder, and builds an object of the ISA class.
Usage
readISATab(path = getwd(), zipfile = NULL, verbose = FALSE)
Arguments
path |
A character vector with the name of the directory in which the
ISA-Tab files are located (if the parameter zipfile is not provided or if it
is equal to |
zipfile |
A character vector with the name of the zip archive containing
ISA-Tab files themselves (without a directory name in the zip archive). The
default value is |
verbose |
Should the messages for the different reading steps be shown? |
Value
An object of the ISA class.
Examples
## Read example Atwell data set.
isaObject1 <- readISATab(path = file.path(system.file("extdata/Atwell",
package = "isatabr")))
## Read example zipped Atwell data set.
isazip <- "Atwell.zip"
isaObject2 <- readISATab(path = file.path(system.file("extdata",
package = "isatabr")),
zipfile = isazip,
verbose = TRUE)