Skip to content

Commit ad62d58

Browse files
committed
Merge pull request #76 from gdancik/master
merge with current shinyGEO version
2 parents 45e4bca + e6c8041 commit ad62d58

File tree

6 files changed

+14
-11
lines changed

6 files changed

+14
-11
lines changed

server.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
TRACE = FALSE
2-
shinycat <-function(...) {
2+
shinycat <<-function(...) {
33
if (TRACE) cat(...)
44
}
5-
shinyprint <-function(...) print(...)
5+
shinyprint <<-function(...) print(...)
66

77
shinycat("begin source server.R\n")
88
source("server/settings.R")

server/server-selection.R

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,10 @@ shinyjs::onclick("btnSelection", {
155155
}
156156

157157
add.code(code)
158-
add.code("data.p = data.p[keep,drop = FALSE]")
158+
add.code("data.p = data.p[keep,, drop = FALSE]")
159+
add.code("m = match(rownames(data.p), colnames(data.expr))")
160+
add.code("data.expr = data.expr[,m,drop = FALSE]\n")
161+
159162

160163
if (!is.null(sel2)) {
161164
sel1 = paste0(sel1, "<br>", sel2, "</br>")

server/settings.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ TEST.DATA = FALSE
66
if (TEST.DATA) {
77
shinycat("loading test data...\n")
88
#load RData/GSE13.RData or RData/GSE19915.RData here
9-
load("RData/GSE19915.RData")
9+
#load("RData/GSE19915.RData")
1010
#load("RData/GSE13.RData")
11-
#load("RData/GSE13507.RData")
11+
load("RData/GSE13507.RData")
1212
}
1313

ui/ui.dashboard.body.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ body = dashboardBody(
109109

110110

111111
shinyjs::useShinyjs(),
112-
summaryBSModal("summaryBSModal","Clinical Data","ClinicalDataBtn", size = "large",
112+
summaryBSModal("summaryBSModal","Sample Data","ClinicalDataBtn", size = "large",
113113

114114
tabsetPanel(id = "tabClinicalData",
115115
tabPanel("Summary View", DT::dataTableOutput("summaryModalTable")),

ui/ui.tab.about.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ tab.about = tabItem("About",
88
is a MSc. Graduate Student in the Predictive Analytics program at DePaul University (Chicago, IL/ Online).
99
Jasmine has a BSE in Biomedical Engineering from the University of Hartford
1010
and a Professional Certificate in Medical Product Develpment from UCI Extension.
11-
<a href ='https://github.com/jasdumas'>Github Profile</a> <span class= \'label label-primary\'>Package Maintainer</span> </p>
11+
<a href ='https://github.com/jasdumas'>Github Profile</a> <span class= \'label label-primary\'>Contributor</span> </p>
1212
<p><span style = \'font-weight: bold\'> Garrett M. Dancik, PhD </span>
1313
is an Assistant Professor of Computer Science / Bioinformatics at Eastern
1414
Connecticut State University (Wilimantic, CT). His research involves applying statistical, mathematical,

ui/ui.tab.reproducible.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
tab.code = tabItem("Code",
66
h3("R Code"),
7-
actionButton("reportBtn", "Generate Report"),p(),
8-
bsModalNoClose("reportModal", "Report Generation", "reportBtn", size = "large",
9-
bsAlert("reportAlert")
10-
),
7+
# actionButton("reportBtn", "Generate Report"),p(),
8+
# bsModalNoClose("reportModal", "Report Generation", "reportBtn", size = "large",
9+
# bsAlert("reportAlert")
10+
# ),
1111
aceEditor("rmd", mode="markdown", value='',readOnly=T, height="500px")
1212
)

0 commit comments

Comments
 (0)