list_datasets: List available datasets in RegulonDB database

Description Usage Arguments Value Examples

View source: R/list_datasets.R

Description

This function returns a vector of all available tables from a regulondb class.

Usage

1

Arguments

regulondb

A regulondb class.

Value

A character() with the names of the available datasets.

Examples

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

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

## List the available datasets
list_datasets(e_coli_regulondb)

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