Browse code

Adjusting most of the import statements, now in alphabetical order

Federico Marini authored on 21/11/2019 10:22:10
Showing 3 changed files

... ...
@@ -17,6 +17,7 @@ Imports:
17 17
     scales,
18 18
     RColorBrewer,
19 19
     grDevices,
20
+    graphics,
20 21
     S4Vectors,
21 22
     ggplot2,
22 23
     ggrepel,
... ...
@@ -31,17 +32,17 @@ Imports:
31 32
     DESeq2,
32 33
     ComplexHeatmap,
33 34
     grid,
34
-    pcaExplorer,
35 35
     methods,
36 36
     shinycssloaders,
37 37
     bs4Dash,
38 38
     shinyWidgets,
39
-    ggalluvial,
40 39
     viridis,
41 40
     dplyr,
42 41
     ggforce,
43 42
     rlang,
44
-    rmarkdown
43
+    rmarkdown,
44
+    dendextend,
45
+    dynamicTreeCut
45 46
 Suggests:
46 47
     knitr,
47 48
     BiocStyle,
... ...
@@ -31,26 +31,24 @@ export(overlap_coefficient)
31 31
 export(overlap_jaccard_index)
32 32
 export(shake_enrichResult)
33 33
 export(shake_topGOtableResult)
34
-import(DESeq2)
35 34
 import(GO.db)
36 35
 import(SummarizedExperiment)
37
-import(ggalluvial)
38 36
 import(ggplot2)
39
-import(igraph)
40
-import(pcaExplorer)
41 37
 import(shiny, except = c(renderDataTable, dataTableOutput))
42
-import(shinyWidgets)
43
-import(shinycssloaders)
44
-import(viridis)
45
-import(visNetwork)
46 38
 importFrom(AnnotationDbi,Definition)
47 39
 importFrom(AnnotationDbi,GOID)
40
+importFrom(AnnotationDbi,Ontology)
48 41
 importFrom(AnnotationDbi,Secondary)
49 42
 importFrom(AnnotationDbi,Synonym)
50 43
 importFrom(AnnotationDbi,Term)
51 44
 importFrom(ComplexHeatmap,Heatmap)
52 45
 importFrom(ComplexHeatmap,HeatmapAnnotation)
53 46
 importFrom(ComplexHeatmap,draw)
47
+importFrom(DESeq2,counts)
48
+importFrom(DESeq2,estimateSizeFactors)
49
+importFrom(DESeq2,normalizationFactors)
50
+importFrom(DESeq2,sizeFactors)
51
+importFrom(DESeq2,vst)
54 52
 importFrom(DT,dataTableOutput)
55 53
 importFrom(DT,datatable)
56 54
 importFrom(DT,renderDataTable)
... ...
@@ -75,15 +73,30 @@ importFrom(bs4Dash,bs4ValueBox)
75 73
 importFrom(bs4Dash,bs4ValueBoxOutput)
76 74
 importFrom(bs4Dash,renderbs4InfoBox)
77 75
 importFrom(bs4Dash,renderbs4ValueBox)
76
+importFrom(dendextend,branches_attr_by_clusters)
77
+importFrom(dendextend,set)
78
+importFrom(dplyr,"%>%")
78 79
 importFrom(dplyr,arrange)
79 80
 importFrom(dplyr,desc)
80 81
 importFrom(dplyr,group_by)
81 82
 importFrom(dplyr,mutate)
83
+importFrom(dplyr,pull)
84
+importFrom(dynamicTreeCut,cutreeDynamic)
82 85
 importFrom(ggforce,geom_sina)
83 86
 importFrom(ggrepel,geom_label_repel)
87
+importFrom(ggrepel,geom_text_repel)
84 88
 importFrom(grDevices,colorRampPalette)
85 89
 importFrom(grDevices,rgb)
90
+importFrom(graphics,par)
91
+importFrom(graphics,plot)
86 92
 importFrom(grid,gpar)
93
+importFrom(igraph,"E<-")
94
+importFrom(igraph,"V<-")
95
+importFrom(igraph,E)
96
+importFrom(igraph,V)
97
+importFrom(igraph,delete.edges)
98
+importFrom(igraph,graph.data.frame)
99
+importFrom(igraph,permute.vertices)
87 100
 importFrom(matrixStats,rowSds)
88 101
 importFrom(methods,is)
89 102
 importFrom(plotly,add_trace)
... ...
@@ -98,10 +111,26 @@ importFrom(rlang,.data)
98 111
 importFrom(rmarkdown,render)
99 112
 importFrom(scales,alpha)
100 113
 importFrom(scales,muted)
114
+importFrom(shinyWidgets,dropdownButton)
115
+importFrom(shinyWidgets,tooltipOptions)
116
+importFrom(shinycssloaders,withSpinner)
117
+importFrom(stats,as.dendrogram)
118
+importFrom(stats,as.dist)
119
+importFrom(stats,cmdscale)
101 120
 importFrom(stats,dist)
102 121
 importFrom(stats,hclust)
122
+importFrom(stats,median)
123
+importFrom(stats,order.dendrogram)
124
+importFrom(stats,runif)
103 125
 importFrom(stats,var)
104 126
 importFrom(tidyr,pivot_longer)
105 127
 importFrom(tidyr,separate_rows)
128
+importFrom(utils,browseURL)
129
+importFrom(utils,citation)
106 130
 importFrom(utils,read.delim)
107 131
 importFrom(utils,sessionInfo)
132
+importFrom(viridis,viridis)
133
+importFrom(visNetwork,renderVisNetwork)
134
+importFrom(visNetwork,visIgraph)
135
+importFrom(visNetwork,visNetworkOutput)
136
+importFrom(visNetwork,visOptions)
... ...
@@ -5,44 +5,47 @@
5 5
 #'
6 6
 #' @author Federico Marini \email{marinif@@uni-mainz.de}
7 7
 #'
8
-#' @rawNamespace import(shiny, except = c(renderDataTable, dataTableOutput))
9
-#' @importFrom DT dataTableOutput renderDataTable datatable
10
-#' @importFrom rintrojs introjs introjsUI
11
-#' @import igraph
12
-#' @import visNetwork
13
-#' @importFrom utils read.delim sessionInfo
14
-#' @importFrom grDevices colorRampPalette rgb
15
-#' @importFrom RColorBrewer brewer.pal
16
-#' @importFrom scales alpha muted
17
-#' @importFrom S4Vectors mcols
18
-#' @import ggplot2
19
-#' @importFrom ggrepel geom_label_repel
20
-#' @import GO.db
21
-#' @import DESeq2
22
-#' @importFrom AnnotationDbi Definition GOID Term Synonym Secondary
23
-#' @importFrom plotly ggplotly plotlyOutput renderPlotly plot_ly layout add_trace
24
-#' @importFrom tidyr separate_rows pivot_longer
25
-#' @importFrom stats var dist hclust
26
-#' @importFrom ComplexHeatmap Heatmap HeatmapAnnotation draw
27
-#' @importFrom grid gpar
28
-#' @importFrom matrixStats rowSds
29
-#' @import SummarizedExperiment
30
-#' @importFrom methods is
31
-#' @import pcaExplorer
32
-#' @import shinycssloaders
8
+#' @importFrom AnnotationDbi Definition GOID Ontology Secondary Synonym Term
33 9
 #' @importFrom bs4Dash bs4Card bs4DashBody bs4DashControlbar
34 10
 #' bs4DashFooter bs4DashNavbar bs4DashPage bs4DashSidebar
35 11
 #' bs4InfoBox bs4InfoBoxOutput bs4SidebarMenu
36 12
 #' bs4SidebarMenuItem bs4TabItem bs4TabItems bs4ValueBox
37 13
 #' bs4ValueBoxOutput renderbs4InfoBox renderbs4ValueBox
38 14
 #' bs4TabPanel bs4TabCard
39
-#' @import shinyWidgets
40
-#' @import ggalluvial
41
-#' @import viridis
42
-#' @importFrom dplyr arrange desc group_by mutate
15
+#' @importFrom ComplexHeatmap Heatmap HeatmapAnnotation draw
16
+#' @importFrom dendextend branches_attr_by_clusters set
17
+#' @importFrom DESeq2 vst counts estimateSizeFactors normalizationFactors sizeFactors
18
+#' @importFrom dplyr arrange desc group_by mutate pull "%>%"
19
+#' @importFrom DT datatable dataTableOutput renderDataTable
20
+#' @importFrom dynamicTreeCut cutreeDynamic
43 21
 #' @importFrom ggforce geom_sina
22
+#' @import ggplot2
23
+#' @importFrom ggrepel geom_label_repel geom_text_repel
24
+#' @import GO.db
25
+#' @importFrom graphics par plot
26
+#' @importFrom grDevices colorRampPalette rgb
27
+#' @importFrom grid gpar
28
+#' @importFrom igraph delete.edges E "E<-" graph.data.frame
29
+#' permute.vertices V "V<-"
30
+#' @importFrom matrixStats rowSds
31
+#' @importFrom methods is
32
+#' @importFrom plotly ggplotly plotlyOutput renderPlotly plot_ly layout add_trace
33
+#' @importFrom RColorBrewer brewer.pal
34
+#' @importFrom rintrojs introjs introjsUI
44 35
 #' @importFrom rlang .data
45 36
 #' @importFrom rmarkdown render
37
+#' @importFrom S4Vectors mcols
38
+#' @importFrom scales alpha muted
39
+#' @importFrom stats var dist hclust as.dendrogram as.dist cmdscale median
40
+#' order.dendrogram runif
41
+#' @rawNamespace import(shiny, except = c(renderDataTable, dataTableOutput))
42
+#' @importFrom shinycssloaders withSpinner
43
+#' @importFrom shinyWidgets dropdownButton tooltipOptions
44
+#' @import SummarizedExperiment
45
+#' @importFrom tidyr separate_rows pivot_longer
46
+#' @importFrom utils read.delim sessionInfo browseURL citation
47
+#' @importFrom visNetwork renderVisNetwork visIgraph visNetworkOutput visOptions
48
+#' @importFrom viridis viridis
46 49
 #'
47 50
 #' @name GeneTonic-pkg
48 51
 #' @docType package