The build_regulondb function is a constructor function of a regulondb class.

regulondb(database_conn, organism, genome_version, database_version)

Arguments

database_conn

A SQLiteConnection-class connection to the RegulonDB database made with connect_database().

organism

A character vector with the name of the organism of the database.

genome_version

A character vector with the version of the genome build.

database_version

A character vector with the version of regulondb build.

Value

A regulondb object.

Examples


## Connect to the RegulonDB database if necessary
if (!exists("regulondb_conn")) regulondb_conn <- connect_database()
#> snapshotDate(): 2021-10-20

## Build a regulondb object
e_coli_regulondb <-
    regulondb(
        database_conn = regulondb_conn,
        organism = "E.coli",
        database_version = "1",
        genome_version = "1"
    )