Usage
cor_igraph(ob, directed = FALSE)
Arguments
- ob
A cmicroRNA or cTF object such as this returned by
calling cmicroRNA or cTF.
- directed
A logical
when FALSE
the graph is indirected
Examples
# 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)
#> IGRAPH f255cc9 UNWB 614 786 --
#> + attr: name (v/c), type (v/c), weight (e/n)
#> + edges from f255cc9 (vertex names):
#> [1] hsa-let-7g--ABL2 hsa-let-7g--ACTR10 hsa-let-7g--ACVR1C
#> [4] hsa-let-7g--ADAMTS1 hsa-let-7g--ADAMTS5 hsa-let-7g--ADCY9
#> [7] hsa-let-7g--ADRB1 hsa-let-7g--ADRB2 hsa-let-7g--AFF2
#> [10] hsa-let-7g--AKAP5 hsa-let-7g--AKAP6 hsa-let-7g--AKT2
#> [13] hsa-let-7g--ANKRD12 hsa-let-7g--ANKRD28 hsa-let-7g--ANKRD46
#> [16] hsa-let-7g--AP4E1 hsa-let-7g--APPBP2 hsa-let-7g--ARHGAP20
#> [19] hsa-let-7g--ARHGEF15 hsa-let-7g--ARHGEF38 hsa-let-7g--ARL4D
#> [22] hsa-let-7g--ARL6IP6 hsa-let-7g--ATP2A2 hsa-let-7g--ATP2B4
#> + ... omitted several edges