Description Usage Arguments Value Examples
Tidy cmicroRNA and cTF objects
1 | cor_tidy(ob)
|
ob |
A cmicroRNA or cTF object such as this returned by calling cmicroRNA or cTF. |
A tidy data.frame
of four columns. mirna_base
or
tf
is the microRNA miRBase IDs, feature
is the features/genes,
cor
is the corresponding expression correlations and study
is TCGA study ID.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | # 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)
# convert cmicroRNA object to a tidy data.frame
tidy_cmir <- cor_tidy(cmir)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.