list_attributes {regutools}R Documentation

List attributes/fields from a dataset/table

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

list_attributes(regulondb, dataset)

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

## 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")

[Package regutools version 1.2.3 Index]