Description Usage Arguments Value Examples
An igraph
object of from cmicroRNA or cTF
objects.
1 | cor_igraph(ob, directed = FALSE)
|
ob |
A cmicroRNA or cTF object such as this returned by calling cmicroRNA or cTF. |
directed |
A |
An igraph
object
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # load required libraries
library(RSQLite)
library(cRegulome)
# locate the testset file and connect
fl <- system.file('extdata', 'cRegulome.db', package = 'cRegulome')
conn <- dbConnect(SQLite(), fl)
# enter a custom query with different arguments
dat <- get_mir(conn,
mir = c('hsa-let-7g', 'hsa-let-7i'),
study = 'STES')
# make a cmicroRNA object
cmir <- cmicroRNA(dat)
# print object
cor_igraph(cmir)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.