Add an expression profile to a snapshot
add_expression_profile.Rd
Add an ExpressionProfile object to a Snapshot. This is a convenience function that calls the add_expression_profile method of the Snapshot class.
Examples
if (FALSE) { # \dontrun{
# Load a snapshot
snapshot <- load_snapshot("Midazolam")
# Create a new expression profile
profile_data <- list(
Type = "Enzyme",
Species = "Human",
Molecule = "CYP3A4",
Category = "Healthy",
Parameters = list()
)
profile <- ExpressionProfile$new(profile_data)
# Add the expression profile to the snapshot
snapshot <- add_expression_profile(snapshot, profile)
} # }