cTF {cRegulome}R Documentation

Construct cTF object

Description

Constructs an S3 object called cTF contains data returned by calling get_tf. Used to define methods for printing and visualizing transcription factors-gene expression correlations.

Usage

cTF(dat_tf)

Arguments

dat_tf

A data.frame such as this returned by calling get_tf.

Value

An S3 object of class cTF

Examples

# locate the testset file and connect
fl <- system.file('extdata', 'cRegulome.db', package = 'cRegulome')
conn <- RSQLite::dbConnect(RSQLite::SQLite(), fl)

# enter a custom query with different arguments
dat <- get_tf(conn,
              tf = 'LEF1',
              study = 'STES',
              min_abs_cor = .3,
              max_num = 5)

# make a cTF object   
ctf <- cTF(dat)


[Package cRegulome version 0.3.2 Index]