sbtab_from_excel: A parser for Excel files with SBtab document structure

View source: R/sbtab_utilities.R

sbtab_from_excelR Documentation

A parser for Excel files with SBtab document structure

Description

This function uses the readxl package to read the file. SBtab sheets are themselves tables dedicated to a specific type of model property: Reaction, Compound, Parameter, etc. The first column will be used as the row.names. The second row will be used as column names, the first row is used to determine the document-name and table-name.

Usage

sbtab_from_excel(excel.file = dir(pattern = "[.]xlsx?$")[1])

Arguments

excel.file

a string (file's name)

Value

SBtab a list of tables (data.frames), one per ods sheet SBtab[['TableName']] is a data.frame, comment(SBtab) is the name of the document

Examples

model.sbtab<-sbtab_from_excel('model.xlsx')

a-kramer/SBtabVFGEN documentation built on Dec. 15, 2024, 1:52 a.m.