Toggle navigation
Toggle navigation
This project
Loading...
Sign in
larisa
/
gene-disease-embeddings
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Roberto Olayo Alarcon
2018-04-15 02:01:25 -0500
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b8b5bbe59581dc11dbd8bb5ab9053ca9212920d0
b8b5bbe5
1 parent
5469490b
update new partitions
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
scripts/Clustering_Analysis.R
scripts/Clustering_Analysis.R
View file @
b8b5bbe
...
...
@@ -66,3 +66,21 @@ print_cluster(cls4, "SentenceMembership_4clusters.txt")
####
# 5 clusters
png
(
"Dendogram_5clusters.png"
,
height
=
600
,
width
=
975
)
plot
(
senclus
,
hang
=
-1
)
cls5
<-
rect.hclust
(
senclus
,
k
=
5
,
border
=
3
:
4
)
dev.off
()
print_cluster
(
cls5
,
"SentenceMembership_5clusters.txt"
)
###
# 6 clusters
png
(
"Dendogram_6clusters.png"
,
height
=
600
,
width
=
975
)
plot
(
senclus
,
hang
=
-1
)
cls6
<-
rect.hclust
(
senclus
,
k
=
6
,
border
=
3
:
4
)
dev.off
()
print_cluster
(
cls6
,
"SentenceMembership_6clusters.txt"
)
...
...
Please
register
or
login
to post a comment