Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
154
Issues
154
List
Board
Labels
Milestones
Merge Requests
12
Merge Requests
12
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
gargantext
haskell-gargantext
Commits
1be4db44
Commit
1be4db44
authored
Jan 13, 2021
by
qlobbe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add a parameter in the config for finding the ancestors or not
parent
be3a7fe0
Pipeline
#1342
canceled with stage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
AdaptativePhylo.hs
src/Gargantext/Core/Viz/AdaptativePhylo.hs
+2
-0
PhyloMaker.hs
src/Gargantext/Core/Viz/Phylo/PhyloMaker.hs
+4
-1
No files found.
src/Gargantext/Core/Viz/AdaptativePhylo.hs
View file @
1be4db44
...
...
@@ -124,6 +124,7 @@ data Config =
,
phyloLevel
::
Int
,
phyloProximity
::
Proximity
,
seaElevation
::
SeaElevation
,
findAncestors
::
Bool
,
phyloSynchrony
::
Synchrony
,
phyloQuality
::
Quality
,
timeUnit
::
TimeUnit
...
...
@@ -144,6 +145,7 @@ defaultConfig =
,
phyloLevel
=
2
,
phyloProximity
=
WeightedLogJaccard
10
,
seaElevation
=
Constante
0.1
0.1
,
findAncestors
=
True
,
phyloSynchrony
=
ByProximityThreshold
0.5
10
SiblingBranches
MergeAllGroups
,
phyloQuality
=
Quality
100
1
,
timeUnit
=
Year
3
1
5
...
...
src/Gargantext/Core/Viz/Phylo/PhyloMaker.hs
View file @
1be4db44
...
...
@@ -59,7 +59,10 @@ toPhylo docs lst conf = trace ("# phylo1 groups " <> show(length $ getGroupsFrom
where
--------------------------------------
phyloAncestors
::
Phylo
phyloAncestors
=
toHorizon
phylo1
phyloAncestors
=
if
(
findAncestors
conf
)
then
toHorizon
phylo1
else
phylo1
--------------------------------------
phylo1
::
Phylo
phylo1
=
toPhylo1
docs
phyloBase
...
...
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