Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Amine GHOZLANE
shaman
Commits
84471e47
Commit
84471e47
authored
Oct 25, 2016
by
Amine GHOZLANE
Browse files
Remove useless test and plotly dependencie again
parent
b3fb4df8
Changes
2
Hide whitespace changes
Inline
Side-by-side
LoadPackages.R
View file @
84471e47
...
...
@@ -130,10 +130,10 @@ if (!require(scales)) {
install.packages
(
'scales'
)
library
(
scales
)
}
if
(
!
require
(
plotly
)){
install.packages
(
"plotly"
)
library
(
plotly
)
}
#
if(!require(plotly)){
#
install.packages("plotly")
#
library(plotly)
#
}
# Allow to upload 50M files only shaman server
if
(
Sys.info
()[
"nodename"
]
==
"shaman"
){
...
...
server.R
View file @
84471e47
...
...
@@ -293,7 +293,7 @@ shinyServer(function(input, output,session) {
res
=
NULL
counts
=
isolate
(
dataMergeCounts
()
$
counts
)
tot
=
rowSums
(
counts
)
save
(
counts
,
tot
,
file
=
"testFilter.RData"
)
#
save(counts,tot,file="testFilter.RData")
withProgress
({
tmp
=
SelectThreshAb
(
counts
,
lambda
=
max
(
round
(
sum
(
counts
)
/
nrow
(
counts
)
*
0.05
),
min
(
tot
)
+1
),
graph
=
FALSE
)},
message
=
"Loading..."
)
res
=
sliderInput
(
"SliderThAb"
,
"Threshold on the total abundance (in log)"
,
min
=
0
,
max
=
round
(
max
(
log
(
tot
+1
)),
1
),
value
=
log
(
tmp
+1
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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