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
GNet
APPINetwork
Commits
7238e334
Commit
7238e334
authored
Mar 09, 2022
by
Gosset Simon
Browse files
Update R/tfit.R, R/clustering_tfit_window.R
parent
1b49e687
Changes
2
Hide whitespace changes
Inline
Side-by-side
R/clustering_tfit_window.R
View file @
7238e334
...
...
@@ -29,7 +29,9 @@ clustering_tfit <- function(organism, network) {
cat
(
'\n>Running TFit...'
)
# Appel de la fonction tfit: TODO = save results somewhere
tfit
(
File.gr
)
##################################################
result_tfit
=
tfit
(
File.gr
)
##################################################
cat
(
"OK\n\n>Clustering TFit is done.\n"
)
cat
(
paste
(
'\n>Results are stocked in : '
,
saveTFit.path
))
...
...
R/tfit.R
View file @
7238e334
...
...
@@ -26,5 +26,6 @@ tfit <- function(X)
adjacencyMatrix
[
integerEdge2
,
integerEdge1
]
<-
TRUE
#symmetric graph
}
partition
<-
.Call
(
"tfit"
,
adjacencyMatrix
,
PACKAGE
=
"appinetwork"
)
list
(
"partition"
=
partition
,
"labels"
=
labels
)
result_tfit
=
list
(
"partition"
=
partition
,
"labels"
=
labels
)
return
result_tfit
}
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