Skip to contents

Remove one or more compounds from a Snapshot by name.

Usage

remove_compound(snapshot, compound_name)

Arguments

snapshot

A Snapshot object.

compound_name

Character vector of compound names to remove.

Value

The updated Snapshot object, returned invisibly.

Examples

if (FALSE) { # \dontrun{
snapshot <- load_snapshot("Midazolam") |>
  remove_compound("Midazolam")
} # }