read_isa: Read or write an isatab file

Description Usage Arguments Value See Also Examples

View source: R/isatools.R

Description

Read or write an isatab file

Usage

1
2
3
read_isa(file, type = "auto")

write_isa(x, file)

Arguments

file

file name to read / write

type

Either 'auto', or 'investigation', 'study', 'assay' (can be abbreviated)

x

isatab object

Value

read_isa() returns either an object of class isatab (for study / assay files) or an object of class isa_i (for investigation files).

See Also

isatab

Examples

1
2
3
4
5
6
7
file <- system.file('extdata', 'i_Investigation.txt', package='isaeditor')
isa_i <- read_isa(file)
print(isa_i)

file <- system.file('extdata', 's_isatab.txt', package='isaeditor')
isa_s <- read_isa(file)
print(isa_s)

isaeditor documentation built on Sept. 29, 2021, 9:08 a.m.