checkExistence: Check for protocol or experiment existence

View source: R/api.R

checkExistenceR Documentation

Check for protocol or experiment existence

Description

This function checks to see if a given protocol or experiment entity exists

Usage

checkExistence(x, type = c("protocolName", "experimentName",
  "protocolCodeName", "experimentCodeName"))

Arguments

x

entity label or code names of the same type

type

entity type of x (protocolName, protocolCodeName, experimentName or experimentCodeName)

Value

boolean list with names that match x

Examples

checkExistence("ADME_Human Liver Microsome Stability", "protocolName")
checkExistence(c("ADME_Human Liver Microsome Stability","some other protocol name"), "protocolName")
checkExistence("PROT-00000001", "protocolCodeName")
checkExistence("EXPT-00000001", "experimentCodeName")

mcneilco/racas documentation built on April 19, 2024, 1:12 p.m.