Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Kimberly Isobel Meechan
Image Data Explorer
Commits
52c70d84
Commit
52c70d84
authored
Jun 22, 2020
by
Jean-Karim Heriche
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed hidden columns not updating after initial choice.
parent
089d657e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
Dockerfile
Dockerfile
+5
-0
image_data_explorer.R
image_data_explorer.R
+2
-1
No files found.
Dockerfile
View file @
52c70d84
...
...
@@ -6,6 +6,11 @@ RUN apt-get update && apt-get install -y libssl-dev liblzma-dev libbz2-dev libic
RUN
apt-get
install
-y
openjdk-8-jdk
# Install required R packages
# We need a patched version of EBImage
# jkh1/EBImage must be installed before RBioformats
# otherwise RBioformats will install the official EBImage package
# and re-installing the patched version over the official one
# seems to cause problems to rJava
RUN
R CMD javareconf
RUN
R
-e
"install.packages('rJava', repos='https://ftp.gwdg.de/pub/misc/cran/')"
RUN
R
-e
"install.packages('remotes', repos='https://ftp.gwdg.de/pub/misc/cran/')"
...
...
image_data_explorer.R
View file @
52c70d84
...
...
@@ -543,6 +543,7 @@ server <- function(input, output, session) {
## Show the data table in the explorer
output
$
dataTable
<-
renderDT
({
req
(
rv
$
data
)
cols.not.shown
<-
rv
$
colsToHide
isolate
({
datatable
(
rv
$
data
[
rv
$
currentRows
,],
class
=
'row-border hover'
,
...
...
@@ -555,7 +556,7 @@ server <- function(input, output, session) {
scrollY
=
1000
,
scroller
=
TRUE
,
stateSave
=
TRUE
,
columnDefs
=
list
(
list
(
visible
=
FALSE
,
targets
=
rv
$
cols
ToHide
)),
columnDefs
=
list
(
list
(
visible
=
FALSE
,
targets
=
cols
.not.shown
)),
searchCols
=
defaultSearchColumns
,
search
=
list
(
regex
=
FALSE
,
caseInsensitive
=
FALSE
,
search
=
defaultSearch
),
autoWidth
=
TRUE
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment