| list_attributes {regutools} | R Documentation |
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.
list_attributes(regulondb, dataset)
regulondb |
A |
dataset |
Dataset of interest. The name should correspond to a table of the database. |
A character vector with the field names.
Carmina Barberena Jonás, Jesús Emiliano Sotelo Fonseca, José Alquicira Hernández, Joselyn Chavez
## 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")