Learn R Programming

isaeditor (version 0.1.1)

read_isa: Read or write an isatab file

Description

Read or write an isatab file

Usage

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

Run this code
# NOT RUN {
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)

# }

Run the code above in your browser using DataLab