get_genome_seq_from_genome_id: Get genome sequence from genome

View source: R/get_genome_seq_from_genome_id.R

get_genome_seq_from_genome_idR Documentation

Get genome sequence from genome

Description

Get the linear string of letters representing the instruction codes that make up the genome of a digital organism from the id of the genome of a digital organism.

Usage

get_genome_seq_from_genome_id(genome_id, triplestore)

Arguments

genome_id

Integer or a list of integer values.

triplestore

Object of class triplestore_access which manages database access.

Value

Data frame. Columns: "genome_id" "genome_seq"

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 genome
get_genome_seq_from_genome_id(1, triplestore = avidaDB)

# More than one genome
get_genome_seq_from_genome_id(
  genome_id = c(1, 2, 3, 4),
  triplestore = avidaDB
)


avidaR documentation built on June 22, 2024, 9:21 a.m.