regulondb: Constructor function of a regulondb class

Description Usage Arguments Value Examples

View source: R/regulondb-classes.R

Description

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

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Connect to the RegulonDB database if necessary
if (!exists("regulondb_conn")) regulondb_conn <- connect_database()

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

regutools documentation built on Dec. 20, 2020, 2 a.m.