Skip to content

Commit

Permalink
Merge pull request #8 from ropensci/reddep
Browse files Browse the repository at this point in the history
Reddep
  • Loading branch information
MahShaaban authored Sep 14, 2018
2 parents 88b4923 + 25f2f21 commit 52635ea
Show file tree
Hide file tree
Showing 37 changed files with 1,782 additions and 1,283 deletions.
18 changes: 6 additions & 12 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: cRegulome
Type: Package
Version: 0.1.1
Version: 0.2.0
Title: Obtain and Visualize Regulome-Gene Expression Correlations in Cancer
Description: Builds a 'SQLite' database file of pre-calculated transcription
factor/microRNA-gene correlations (co-expression) in cancer from the
Expand All @@ -23,24 +23,18 @@ Imports: DBI,
RSQLite,
UpSetR,
VennDiagram,
magrittr,
dplyr,
ggplot2,
ggridges,
tidyr,
reshape2,
purrr,
grid,
R.utils,
AnnotationDbi,
org.Hs.eg.db,
clusterProfiler
igraph
VignetteBuilder: knitr
Suggests: knitr,
rmarkdown,
testthat,
covr,
dbplyr,
igraph,
readxl
readxl,
AnnotationDbi,
org.Hs.eg.db,
clusterProfiler

18 changes: 15 additions & 3 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,24 @@ export(cor_hist)
export(cor_igraph)
export(cor_joy)
export(cor_plot)
export(cor_prep)
export(cor_tidy)
export(cor_upset)
export(cor_venn_diagram)
export(get_db)
export(get_mir)
export(get_tf)
import(DBI)
import(RSQLite)
importFrom(magrittr,"%>%")
export(stat_collect)
export(stat_make)
import(ggplot2)
importFrom(DBI,dbListFields)
importFrom(R.utils,gunzip)
importFrom(RSQLite,dbGetQuery)
importFrom(UpSetR,upset)
importFrom(VennDiagram,venn.diagram)
importFrom(ggridges,geom_density_ridges)
importFrom(graphics,hist)
importFrom(grid,grid.draw)
importFrom(httr,http_error)
importFrom(igraph,graph_from_data_frame)
importFrom(utils,download.file)
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,8 @@
# cRegulome 0.1.1

- fix installing in default library tree

# cRegulome 0.2.0

- Reduced code dependencies
- Improved code performance
35 changes: 26 additions & 9 deletions R/cRegulome.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,36 @@
#'
#' Download, access and visualize Regulome (microRNA and transcription factors)
#' data from miRCancer and Cistrome cancer
#'
#'
#' @section \code{cRegulome} functions to download and query the database file:
#' \code{\link{get_db}}
#' \code{\link{get_tf}}
#' \code{\link{get_mir}}
#'
#' @section \code{cRegulome} functions to create S3 objects:
#' \code{\link{cTF}}
#' \code{\link{cmicroRNA}}
#'
#' @section \code{cRegulome} functions to reshape S3 objects:
#' \code{\link{cor_tidy}}
#' \code{\link{cor_igraph}}
#'
#' @section \code{cRegulome} functions to visualize data in S3 objects:
#' \code{\link{cor_hist}}
#' \code{\link{cor_joy}}
#' \code{\link{cor_plot}}
#' \code{\link{cor_upset}}
#' \code{\link{cor_venn_diagram}}
#'
#' @docType package
#' @name cRegulome
#'
#' @import DBI
#' @import RSQLite
NULL

## quiets concerns of R CMD check re: the .'s that appear in pipelines
## fix by @jennybc
## source https://github.com/jennybc/googlesheets/blob/master/R/googlesheets.R
if(getRversion() >= "2.15.1") utils::globalVariables(c('study',
'mirna_base',
'cor',
'tf',
'feature'))
#if(getRversion() >= "2.15.1") utils::globalVariables(c('study',
# 'mirna_base',
# 'cor',
# 'tf',
# 'feature'))
Loading

0 comments on commit 52635ea

Please sign in to comment.