sbtab_from_tsv: A parser for a bunch of .tsv files with SBtab document...

View source: R/sbtab_utilities.R

sbtab_from_tsvR Documentation

A parser for a bunch of .tsv files with SBtab document content

Description

This function reads the files (not using any package). SBtab sheets are themselves tables dedicated to a specific type of model property: Reaction, Compound, Parameter, etc.

Usage

sbtab_from_tsv(tsv.file = dir(pattern = "[.]tsv$"), verbose = TRUE)

Arguments

tsv.file

a character vector (file names, one per sheet), defaults to all tsv files in the current directory.

verbose

if FALSE, nothing is printed with cat()

Details

The SBtab content is not interpreted in any way.

Value

SBtab a list of tables, one per file in tsv.file list SBtab[['Reaction']] retrieves the table of reactions, a data.frame comment(SBtab) retrieves the SBtab document name

Examples

model.sbtab<-sbtab_from_tsv(dir(pattern='.*[.]tsv$'))

a-kramer/SBtabVFGEN documentation built on Nov. 14, 2024, 8:41 p.m.