Skip to content

Commit eac6808

Browse files
Merge pull request #94 from charles-plessy/reverseCumulativesGGplot
Port plotReverseCumulatives to ggplot2
2 parents 9fc3ef5 + 78718eb commit eac6808

10 files changed

+257
-249
lines changed

DESCRIPTION

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,12 @@ Imports:
2626
KernSmooth,
2727
memoise,
2828
plyr,
29+
rlang,
2930
Rsamtools,
3031
reshape2,
3132
rtracklayer,
3233
S4Vectors (>= 0.27.5),
34+
scales,
3335
som,
3436
stringdist,
3537
stringi,
@@ -77,7 +79,6 @@ Collate:
7779
'CumulativeDistributionFunctions.R'
7880
'GetMethods.R'
7981
'CumulativeDistributionMethods.R'
80-
'ExportFunctions.R'
8182
'ExportMethods.R'
8283
'ExpressionProfilingMethods.R'
8384
'ImportFunctions.R'

NAMESPACE

+11-2
Original file line numberDiff line numberDiff line change
@@ -146,18 +146,27 @@ importFrom(data.table,setkeyv)
146146
importFrom(data.table,setnames)
147147
importFrom(formula.tools,lhs)
148148
importFrom(formula.tools,rhs.vars)
149+
importFrom(ggplot2,aes)
149150
importFrom(ggplot2,aes_string)
150151
importFrom(ggplot2,coord_flip)
151152
importFrom(ggplot2,facet_wrap)
153+
importFrom(ggplot2,geom_abline)
152154
importFrom(ggplot2,geom_bar)
153155
importFrom(ggplot2,geom_histogram)
154156
importFrom(ggplot2,geom_point)
155157
importFrom(ggplot2,geom_segment)
158+
importFrom(ggplot2,geom_step)
159+
importFrom(ggplot2,geom_vline)
156160
importFrom(ggplot2,ggplot)
157161
importFrom(ggplot2,ggtitle)
162+
importFrom(ggplot2,guide_legend)
163+
importFrom(ggplot2,guides)
158164
importFrom(ggplot2,labs)
159165
importFrom(ggplot2,position_stack)
166+
importFrom(ggplot2,scale_color_manual)
160167
importFrom(ggplot2,scale_fill_manual)
168+
importFrom(ggplot2,scale_x_log10)
169+
importFrom(ggplot2,scale_y_log10)
161170
importFrom(ggplot2,xlab)
162171
importFrom(ggplot2,ylab)
163172
importFrom(grDevices,blues9)
@@ -170,23 +179,23 @@ importFrom(grDevices,rainbow)
170179
importFrom(grDevices,rgb)
171180
importFrom(grDevices,xy.coords)
172181
importFrom(graphics,Axis)
173-
importFrom(graphics,abline)
174182
importFrom(graphics,axis)
175183
importFrom(graphics,box)
176184
importFrom(graphics,legend)
177185
importFrom(graphics,lines)
178186
importFrom(graphics,mtext)
179187
importFrom(graphics,pairs)
180188
importFrom(graphics,par)
181-
importFrom(graphics,plot)
182189
importFrom(graphics,points)
183190
importFrom(graphics,strwidth)
184191
importFrom(graphics,text)
185192
importFrom(gtools,mixedorder)
186193
importFrom(memoise,memoise)
187194
importFrom(plyr,ddply)
188195
importFrom(reshape2,melt)
196+
importFrom(rlang,.data)
189197
importFrom(rtracklayer,import.bed)
198+
importFrom(scales,hue_pal)
190199
importFrom(som,som)
191200
importFrom(stats,coefficients)
192201
importFrom(stats,cor)

R/CorrelationMethods.R

+1
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
#'
7272
#' plotCorrelation2(exampleCAGEexp, what = "consensusClusters", value = "normalized")
7373
#'
74+
#' @importFrom graphics box legend par strwidth text
7475
#' @export
7576

7677
setGeneric( "plotCorrelation"

R/ExportFunctions.R

-41
This file was deleted.

0 commit comments

Comments
 (0)