newProject: Start a new PLETHEM project.

Description Usage Arguments Examples

View source: R/Project.R

Description

A project consists of chemicals, organisms and datasets. The function asks the user for a location to save the project files on exit. It then launches the shiny user interface used to parameterize and run the model.

Usage

1
2
3
4
5
6
7
8
newProject(
  name = "new_project",
  save_path = "",
  type = "PBPK",
  model = "rapidPBPK",
  mode = "MC",
  runUI = FALSE
)

Arguments

name

The name for the project

save_path

The path at which the new project will be saved

type

The type of the model that the project is tied to

model

The model to be used for the project

mode

Either Forward Dosimetry(FD) or Monte Carlo(MC) mode. Only valid for PBPK type models

runUI

trigger the appropriate interface after data is loaded into the database

Examples

1
2
3
4
if(interactive()){
newProject(name = "TestPBPK",type = "PBPK",model = "rapidPBPK",mode = "MC")
newProject(name = "TestPBPK",type = "PBPK",mode = "httk_pbpk",mode = "MC")
}

plethem documentation built on Nov. 8, 2020, 4:35 p.m.