Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Przemyslaw Kaminski
haskell-gargantext
Commits
79d33462
Commit
79d33462
authored
May 26, 2020
by
qlobbe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add a new trace
parent
bbe478a5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
AdaptativePhylo.hs
src/Gargantext/Viz/AdaptativePhylo.hs
+1
-1
PhyloExample.hs
src/Gargantext/Viz/Phylo/PhyloExample.hs
+1
-1
TemporalMatching.hs
src/Gargantext/Viz/Phylo/TemporalMatching.hs
+2
-1
No files found.
src/Gargantext/Viz/AdaptativePhylo.hs
View file @
79d33462
...
...
@@ -147,7 +147,7 @@ defaultConfig =
,
phyloSynchrony
=
ByProximityThreshold
0.5
10
SiblingBranches
MergeAllGroups
,
phyloQuality
=
Quality
0.1
1
,
timeUnit
=
Year
3
1
5
,
clique
=
Fis
1
5
,
clique
=
MaxClique
0
,
exportLabel
=
[
BranchLabel
MostInclusive
2
,
GroupLabel
MostEmergentInclusive
2
]
,
exportSort
=
ByHierarchy
,
exportFilter
=
[
ByBranchSize
2
]
...
...
src/Gargantext/Viz/Phylo/PhyloExample.hs
View file @
79d33462
...
...
@@ -108,7 +108,7 @@ config =
defaultConfig
{
phyloName
=
"Cesar et Cleopatre"
,
phyloLevel
=
2
,
exportFilter
=
[
ByBranchSize
0
]
,
clique
=
Fis
0
0
}
,
clique
=
MaxClique
0
}
docs
::
[
Document
]
...
...
src/Gargantext/Viz/Phylo/TemporalMatching.hs
View file @
79d33462
...
...
@@ -380,7 +380,8 @@ seaLevelMatching proximity beta minBranch frequency thr step depth elevation fra
then
branches
else
-- | break all the possible branches at the current seaLvl level
let
branches'
=
trace
(
"↑ level = "
<>
printf
"%.1f"
thr
<>
" branches = "
<>
show
(
length
branches
))
let
quality
=
toPhyloQuality
beta
frequency
(
map
fst
branches
)
branches'
=
trace
(
"↑ level = "
<>
printf
"%.1f"
thr
<>
" F(β) = "
<>
printf
"%.3f"
quality
<>
" branches = "
<>
show
(
length
branches
))
$
breakBranches
proximity
beta
frequency
minBranch
thr
depth
elevation
frame
docs
coocs
periods
[]
(
head'
"seaLevelMatching"
branches
)
(
tail'
"seaLevelMatching"
branches
)
frequency'
=
reduceFrequency
frequency
(
map
fst
branches'
)
...
...
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