get_gene_regulators: Get TFs or genes that regulate the genes of interest

Description Usage Arguments Value Author(s) Examples

View source: R/get_gene_regulators.R

Description

Given a list of genes (name, bnumber or GI), get all transcription factors or genes that regulate them. The effect of regulators over the gene of interest can be positive (+), negative (-) or dual (+/-)

Usage

1
get_gene_regulators(regulondb, genes, format = "multirow", output.type = "TF")

Arguments

regulondb

A regulondb class.

genes

Vector of genes (name, bnumber or GI).

format

Output format: multirow, onerow, table

output.type

How regulators will be represented: "TF"/"GENE"

Value

A regulondb_result object.

Author(s)

Carmina Barberena Jonas, Jesús Emiliano Sotelo Fonseca, José Alquicira Hernández, Joselyn Chávez

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
## 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"
    )

## Get Transcription factors that regulate araC in one row
get_gene_regulators(
    e_coli_regulondb,
    genes = c("araC"),
    output.type = "TF",
    format = "onerow"
)

## Get genes that regulate araC in table format
get_gene_regulators(
    e_coli_regulondb,
    genes = c("araC"),
    output.type = "GENE",
    format = "table"
)

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