Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get library information from lixoftConnectors #9

Closed
mattfidler opened this issue Jun 27, 2024 · 5 comments · Fixed by #11
Closed

Get library information from lixoftConnectors #9

mattfidler opened this issue Jun 27, 2024 · 5 comments · Fixed by #11

Comments

@mattfidler
Copy link
Member

This will get the library information from lixoftConnectors, which apparently can get the library for certain versions of Monolix's lixoft connectors.

@mattfidler
Copy link
Member Author

Get a library model’s content.
Description
Get the content of a library model.

Usage
getLibraryModelContent(filename, print = TRUE)
Arguments

https://monolix.lixoft.com/monolix-api/

@mattfidler

This comment was marked as outdated.

@mattfidler

This comment was marked as outdated.

@mattfidler
Copy link
Member Author

Apparently, I did not match the software version with the version where this occurs.

When I do I get the following:

R 4.3.1> lixoftConnectors::initializeLixoftConnectors()
[INFO] The directory specified in the initialization file of the Lixoft Suite (located at "/home/fidlema3/lixoft/lixoft.ini") will be used by default: "/CHBS/apps/EB/software/Monolix/2023R1/"
[INFO] The lixoftConnectors package has been successfully initialized:
lixoftConnectors package version -> 2023.1
Lixoft softwares suite version   -> 2023R1
R 4.3.1> getLibraryModelContent("infusion_1cpt_Vk")
DESCRIPTION:
The administration is via an infusion (requires INFUSION RATE or INFUSION DURATION column-type in the data set).
The PK model has one compartment (volume V) and a linear elimination (elimination rate k).

[LONGITUDINAL]
input = {V, k}

PK:
; PK model definition
Cc = pkmodel(V, k)

OUTPUT:
output = {Cc}
R 4.3.1> getLibraryModelContent("lib:infusion_1cpt_Vk.txt")
DESCRIPTION:
The administration is via an infusion (requires INFUSION RATE or INFUSION DURATION column-type in the data set).
The PK model has one compartment (volume V) and a linear elimination (elimination rate k).

[LONGITUDINAL]
input = {V, k}

PK:
; PK model definition
Cc = pkmodel(V, k)

OUTPUT:
output = {Cc}
R 4.3.1> as.character(getLibraryModelContent("lib:infusion_1cpt_Vk.txt"))
DESCRIPTION:
The administration is via an infusion (requires INFUSION RATE or INFUSION DURATION column-type in the data set).
The PK model has one compartment (volume V) and a linear elimination (elimination rate k).

[LONGITUDINAL]
input = {V, k}

PK:
; PK model definition
Cc = pkmodel(V, k)

OUTPUT:
output = {Cc}
[1] "DESCRIPTION:\nThe administration is via an infusion (requires INFUSION RATE or INFUSION DURATION column-type in the data set).\nThe PK model has one compartment (volume V) and a linear elimination (elimination rate k).\n\n[LONGITUDINAL]\ninput = {V, k}\n\nPK:\n; PK model definition\nCc = pkmodel(V, k)\n\nOUTPUT:\noutput = {Cc}\n"

R 4.3.1> as.character(getLibraryModelContent("lib:infusion_1cpt_Vk.txt", print=FALSE))
[1] "DESCRIPTION:\nThe administration is via an infusion (requires INFUSION RATE or INFUSION DURATION column-type in the data set).\nThe PK model has one compartment (volume V) and a linear elimination (elimination rate k).\n\n[LONGITUDINAL]\ninput = {V, k}\n\nPK:\n; PK model definition\nCc = pkmodel(V, k)\n\nOUTPUT:\noutput = {Cc}\n"

@mattfidler
Copy link
Member Author

Which means it can be used 😄

@mattfidler mattfidler linked a pull request Aug 2, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant