Skip to contents

Count and plot the numbers of microRNA correlated features in cmicroRNA object.

Usage

cor_venn_diagram(ob, study, ...)

Arguments

ob

A cmicroRNA or cTF object such as this returned by calling cmicroRNA or cTF.

study

A character vector of The Cancer Genome Atlas (TCGA) study identifiers. To view the available studies in TCGA project, https://tcga-data.nci.nih.gov/docs/publications/tcga. When left to default NULL all available studies will be included.

...

Other options

Value

A venn diagram with a circle or an ellipses for each microRNA and the number of correlated features.

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 = c('hsa-let-7g', 'hsa-let-7i'),
               study = 'STES')

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

# make graph
cor_venn_diagram(cmir)