stat_make: Make A SQL statement

Description Usage Arguments Value Examples

View source: R/get_data.R

Description

Not meant to be called directly by the user.

Usage

1
stat_make(reg, study, min_abs_cor, max_num, targets, type = "mir")

Arguments

reg

A character vector of one or more regulator ID.

study

A character vector of The Cancer Genome Atlas (TCGA) study identifiers. To view the available studies in TCGA project, https://tcga-data.nci.nih.gov/docs/publications/tcga. When left to default NULL all available studies will be included.

min_abs_cor

A numeric, an absolute correlation minimum between 0 and 1 for each mir.

max_num

An integer, maximum number of features to show for each mir in each study.

targets

A character vector of gene symbol names.

type

A character string. Either 'mir' of 'tf'. Used to define columns and tables names.

Value

A character string

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
stat_make(reg = 'hsa-let-7g',
          study = 'STES')
          
stat_make(reg = 'hsa-let-7g',
          study = 'STES',
          min_abs_cor = .3)
          
stat_make(reg = 'hsa-let-7g',
          study = 'STES',
          min_abs_cor = .3,
          max_num = 5)
          

cRegulome documentation built on Jan. 3, 2019, 9:04 a.m.