Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
shiny-timecourse-inspector
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pertz-lab
shiny-timecourse-inspector
Commits
b94d32b4
Commit
b94d32b4
authored
Oct 10, 2019
by
dmattek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code formatting
parent
1fcf46e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/tabClHier.R
modules/tabClHier.R
+4
-4
No files found.
modules/tabClHier.R
View file @
b94d32b4
...
@@ -322,7 +322,7 @@ clustHier <- function(input, output, session, in.dataWide, in.dataLong, in.dataS
...
@@ -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
)
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
()
loc.k
=
returnNclust
()
# make a palette with the amount of colours equal to the number of clusters
# 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
...
@@ -336,9 +336,9 @@ clustHier <- function(input, output, session, in.dataWide, in.dataLong, in.dataS
#}
#}
loc.dend
<-
as.dendrogram
(
loc.cl.hc
)
loc.dend
<-
as.dendrogram
(
loc.cl.hc
)
loc.dend
<-
color_branches
(
loc.dend
,
loc.dend
<-
dendextend
::
color_branches
(
loc.dend
,
col
=
loc.col
,
col
=
loc.col
,
k
=
loc.k
)
k
=
loc.k
)
return
(
loc.dend
)
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