
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.
cmicroRNA(dat_mir)
A data.frame
such as this returned by calling
get_mir.
An S3 object of class cmicroRNA
# NOT RUN {
# 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)
# }
Run the code above in your browser using DataLab