Learn R Programming

FSK2R

R package for reading/writing FSK-ML models.

FSK2R is an R package that enables users to work with FSK-ML models and data in R. Some of its features are:

  • Model import and export
  • Model creation
  • Model edition
  • Running simulations
  • Visualizing results

FSK2R has been initiated and provided by the Federal Institute for Risk Assessment, BfR (Berlin, Germany), and Universidad Politécnica de Cartagena, UPCT (Cartagena, Spain). It is in beta status. Before using the software you have to read and accept the license and disclaimer. If you do not agree, do not use this software.

Development version

The development version can be installed with devtools from GitLab.

# install.packages("devtools")
devtools::install_gitlab('miguelalba/fsk2r')

Copy Link

Version

Install

install.packages('FSK2R')

Monthly Downloads

263

Version

0.2.0

License

GPL-3

Maintainer

Alberto Garre

Last Published

October 10th, 2025

Functions in FSK2R (0.2.0)

get_background

Returns the background of an FSK object
export_sbmlModel

Export the model.sbml
get_scope

Returns the scope of an FSK object
metadata_list_to_fsk

From read_fsk_metadata_XX to FSK2R format
map_metadata_xml_template

Map between the names used in the template and the xml
update_manifest

Updates the manifest file
get_session_info

Extract session information
export_simulation

Export the sim.sedml
export_workspace

Functions for exporting the workspace of an FSK2R object
export_visualization

Functions for exporting the visualization script of an FSK2R object
read_fsk_packages

Read the packages.json
read_fsk_json_metadata

Read the metadata.json file
read_fsk_rdf_metadata

Read the metadata.rdf
read_fsk_manifest

Read the manifest of an FSK file and convert it to a data.frame
export_modelmetadata

Functions for exporting the model metadata of an FSK2R object
get_modelmath

Returns the model math of an FSK object
export_otherfiles

Export other files
get_readme

Readme of an FSK object
map_FSK_metadata

Map for the contents of the metadata
get_general_info

Returns the general info of an FSK object
is_fsk_with_r

Does the object have an R model?
export_R_model

Functions for exporting the R model of an FSK2R object
run_all_simulations

Run every simulation in an FSK object
set_new_simulation

Define a new simulation in an FSK2R object
read_fsk_sim

Read the sim.sedml file
read_R_model

Reads the R model in an FSK model
import_fsk

Import an FSK model into R
n_simuls_fsk

Number of simulations in the FSK2R object
read_fsk_readme

Read the README file
find_packages

Finds where packages are stored
get_simulations

Returns a summary of the simulations of an FSK object
run_simulation

Run one simulation in an FSK object
set_readme

Readme of an FSK object
read_fsk_metadata_excel

FSK metadata from local Excel file
is.FSK2R

Is it an instance of FSK2R?
export_readme

Functions for exporting the README of an FSK2R object
export_fsk

Exports an object of FSK class as an .fskx file
export_packages

Functions for exporting the packages of an FSK2R object
read_fsk_model

Read the model.sbml
read_other_files

Read "other files"
import_fsk_join

Import of FSK with join node
read_visualization

Reads the visualization script in an FSK model
FSKModelMath

Model Math Section
FSKGeneralInformation

General Information Section
FSKParameter

Parameter Information
FSKReference

Reference Information
FSKMetadata

FSK Metadata Classes
FSKScope

Scope Section
FSKModelCategory

Model Category Information
FSKAuthor

Author Information
FSKDataBackground

Data Background Section
FSK_runner

Startup FSK runner
create_fsk

Creates an FSK model from an existing R script
check_manifest_files

Checks that the files defined in the manifest exist
dataframe_to_list

Converts a dataframe to a list
export_metadata

Function for exporting the metadata of an FSK2R object
export_manifest

Functions for exporting the manifest of an FSK2R object
clean_empty_values

Recursively clean object by removing empty values
extract_script_filenames_from_rdf

Extract script filenames from RDF metadata
clean_json_string

Clean empty values from JSON string
convert_metadata_to_lists

Fix the metadat so that it is lists