Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
pertz-lab
shiny-timecourse-inspector
Commits
b94d32b4
Commit
b94d32b4
authored
Oct 10, 2019
by
dmattek
Browse files
Code formatting
parent
1fcf46e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/tabClHier.R
View file @
b94d32b4
...
...
@@ -322,7 +322,7 @@ clustHier <- function(input, output, session, in.dataWide, in.dataLong, in.dataS
loc.cl.hc
=
hclust
(
loc.dm.dist
,
method
=
input
$
selectPlotHierLinkage
)
# number of clusters at which dendr
i
gram is cut
# number of clusters at which dendr
o
gram is cut
loc.k
=
returnNclust
()
# make a palette with the amount of colours equal to the number of clusters
...
...
@@ -336,9 +336,9 @@ clustHier <- function(input, output, session, in.dataWide, in.dataLong, in.dataS
#}
loc.dend
<-
as.dendrogram
(
loc.cl.hc
)
loc.dend
<-
color_branches
(
loc.dend
,
col
=
loc.col
,
k
=
loc.k
)
loc.dend
<-
dendextend
::
color_branches
(
loc.dend
,
col
=
loc.col
,
k
=
loc.k
)
return
(
loc.dend
)
})
...
...
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