Learn R Programming

TFactSR (version 0.99.0)

extractTFTG: extracts transcription factor (TF) and target gene (TG) information

Description

This function extracts information about transcription factor (TF) and target gene (TG) with TFactS Catalogue (v2).

Usage

extractTFTG(
  DEGs,
  catalog,
  TF.col = "TF..OFFICIAL_TF_CODING_GENE_NAME.",
  TG.col = "Target.gene..OFFICIAL_GENE_NAME."
)

Value

list

Arguments

DEGs

a character vector of DEGs (differentially expressed genes)

catalog

a data frame of TFactS catalog (ver. 2)

TF.col

the name of the column that contains the TF names

TG.col

the name of the column that contains the TG names

Author

Atsushi Fukushima

Examples

Run this code
data(DEGs)
data(catalog)

res <- extractTFTG(DEGs, catalog)
head(res$TFs)

Run the code above in your browser using DataLab