get_doi_from_experiment_id {avidaR}R Documentation

Get doi from experiment

Description

Get the DOI of the scientific publication that documents the experiment carried out.

Usage

get_doi_from_experiment_id(avida_experiment_id, triplestore)

Arguments

avida_experiment_id

Integer or a list of integer values.

triplestore

Object of class triplestore_access which manages database access.

Value

Data frame. Columns: "doi" "avida_experiment_id"

Examples


# Create triplestore object
avidaDB <- triplestore_access$new()

# Set access options
avidaDB$set_access_options(
  url = "https://graphdb.fortunalab.org",
  user = "public_avida",
  password = "public_avida",
  repository = "avidaDB_test"
)

# Single paper
get_doi_from_experiment_id(
  avida_experiment_id = 1,
  triplestore = avidaDB
)

# More than one experiment
get_doi_from_experiment_id(
  avida_experiment_id = c(1, 2, 4),
  triplestore = avidaDB
)


[Package avidaR version 1.2.1 Index]