cmicroRNA {cRegulome}R Documentation

Construct cmicroRNA object

Description

Constructs an S3 object called cmicroRNA contains data returned by calling get_mir. Used to define methods for printing and visualizing microRNA-gene expression correlations.

Usage

cmicroRNA(dat_mir)

Arguments

dat_mir

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

Value

An S3 object of class cmicroRNA

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_mir(conn,
               mir = 'hsa-let-7g',
               study = 'STES',
               min_abs_cor = .3,
               max_num = 5)

# make a cmicroRNA object   
cmir <- cmicroRNA(dat)


[Package cRegulome version 0.3.2 Index]