list_attributes: List attributes/fields from a dataset/table

Description Usage Arguments Value Author(s) Examples

View source: R/list_attributes.R

Description

List all attributes and their description of a dataset from RegulonDB. The result of this function may be used as parameter 'values' in list_attributes() function.

Usage

1

Arguments

regulondb

A regulondb() object.

dataset

Dataset of interest. The name should correspond to a table of the database.

Value

A character vector with the field names.

Author(s)

Carmina Barberena Jonás, Jesús Emiliano Sotelo Fonseca, José Alquicira Hernández, Joselyn Chavez

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
## 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 transcription factor attributes
list_attributes(e_coli_regulondb, "TF")

## List the operon attributes
list_attributes(e_coli_regulondb, "OPERON")

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