Commit 5c8b59fa authored by david Chavalarias's avatar david Chavalarias

adapation for nma

parent 01a3ad3a
This diff is collapsed.
This diff is collapsed.
{
"Conditionnal.gexf": {
"node0": {
"name": "term",
"reldbs": {
"csv": {
"file": "../clinicaltrials.csv",
"qcols": ["title","abstract"],
"template": "bib_details"
}
}
}
}
}
{
"Conditionnal.gexf": {
"node0": {
"name": "term",
"reldbs": {
"csv": {
"file": "../clinicaltrials.csv",
"qcols": ["title","abstract"],
"template": "bib_details"
}
}
}
}
}
This diff is collapsed.
This diff is collapsed.
{
"Distributional.gexf": {
"ClinicalTrials_c_2020_05_05.gexf": {
"node0": {
"name": "term",
"reldbs": {
......
This diff is collapsed.
{
"Distributionnal.gexf": {
"ClinicalTrials_d_2020_05_05.gexf": {
"node0": {
"name": "term",
"reldbs": {
......@@ -12,4 +12,3 @@
}
}
}
File added
<li class="searchhit" title="$${score}">
<p>
<b>$${tit}</b>
by
<span class="author">$${au}</span>
,
<i>$${src}</i>
[$${date}]
</p>
<p>
<span class="hit-keywords">
$${kws}
</span>
<span class="hit-text">
$${txt}
</span>
</p>
</li>
{
"someOccs": {
"col": "gradient",
"n": 3,
"binmode": "samepop",
"legend": "Test Occurrences"
},
"country": {"col": "cluster" , "legend": "Country", "binmode": "off" },
"myValue": {
"col": "heatmap",
"n": 2,
"binmode": "samerange",
"legend": "Some Important Value"
}
}
"title" "pubdate" "author" "journal" "keywords" "text"
"python is nice" "2001" "Asher,Lutz" "areview" "python, forest" "hic in Palatio prima urbi fundamenta ieci. arcem iam scelere emptam Sabini habent"
"python is cool" "2003" "-cc-" "areview" "python, ocean" "hic in Palatio prima urbi fundamenta ieci. arcem iam scelere emptam Sabini habent"
"scala is great" "2003" "Odersky" "areviewB" "scala, crop" "hic in Palatio prima urbi fundamenta ieci. arcem iam scelere emptam Sabini habent"
"php is expressive" "2005" "Nixon" "areview" "php, mysql" "hic in Palatio prima urbi fundamenta ieci. arcem iam scelere emptam Sabini habent"
"php is expressive2" "2010" "-bb-" "areviewB" "php, web" "hic in Palatio prima urbi fundamenta ieci. arcem iam scelere emptam Sabini habent"
"javascript rules the web" "2005" "someguy,anotherguy" "areviewC" "javascript, web" "hic in Palatio prima urbi fundamenta ieci. arcem iam scelere emptam Sabini habent"
"a cool article" "2008" "-dd-" "areview" "coolness, ecosystem" "hic in Palatio prima urbi fundamenta ieci. arcem iam scelere emptam Sabini habent"
"another cool article" "2001" "-aa-" "areview" "coastal, coolness" "hic in Palatio prima urbi fundamenta ieci. arcem iam scelere emptam Sabini habent"
"a js primer" "2004" "mandelbrot" "areviewC" "coolness, ecosystem, grain yield" "hic in Palatio prima urbi fundamenta ieci. arcem iam scelere emptam Sabini habent"
"a scala js primer" "2004" "somebody" "areviewC" "keyword, ecosystem, growth response" "hic in Palatio prima urbi fundamenta ieci. arcem iam scelere emptam Sabini habent"
<gexf xmlns="http://www.gexf.net/1.1draft" xmlns:viz="http://www.gephi.org/gexf/viz" version="1.1">
<graph defaultedgetype="undirected" type="static">
<attributes class="node" type="static">
<attribute id="0" title="category" type="string"> </attribute>
<attribute id="1" title="country" type="string"> </attribute>
<attribute id="2" title="myValue" type="string"> </attribute>
<attribute id="3" title="someOccs" type="string"> </attribute>
</attributes>
<nodes>
<node id="T::0" label="scalajs">
<viz:size value="1"/>
<attvalues>
<attvalue for="0" value="term"/>
<attvalue for="3" value="1798"/>
</attvalues>
</node>
<node id="T::1" label="scala">
<viz:size value="1"/>
<attvalues>
<attvalue for="0" value="term"/>
<attvalue for="3" value="1577"/>
</attvalues>
</node>
<node id="T::2" label="python">
<viz:size value="1"/>
<attvalues>
<attvalue for="0" value="term"/>
<attvalue for="3" value="19"/>
</attvalues>
</node>
<node id="T::3" label="javascript">
<viz:size value="1"/>
<attvalues>
<attvalue for="0" value="term"/>
<attvalue for="3" value="1032"/>
</attvalues>
</node>
<node id="T::4" label="php">
<viz:size value="1"/>
<attvalues>
<attvalue for="0" value="term"/>
<attvalue for="3" value="655"/>
</attvalues>
</node>
<node id="P::0" label="-bb-">
<viz:size value="1"/>
<attvalues>
<attvalue for="0" value="person"/>
<attvalue for="1" value="China"/>
<attvalue for="2" value="14.995"/>
</attvalues>
</node>
<node id="P::1" label="-aa-">
<viz:size value="1"/>
<attvalues>
<attvalue for="0" value="person"/>
<attvalue for="1" value="Bhutan"/>
<attvalue for="2" value="8.9572"/>
</attvalues>
</node>
<node id="P::2" label="-dd-">
<viz:size value="1"/>
<attvalues>
<attvalue for="0" value="person"/>
<attvalue for="1" value="Brazil"/>
<attvalue for="2" value="4.6753"/>
</attvalues>
</node>
<node id="P::3" label="-cc-">
<viz:size value="1"/>
<attvalues>
<attvalue for="0" value="person"/>
<attvalue for="1" value="France"/>
<attvalue for="2" value="0.8481"/>
</attvalues>
</node>
<node id="P::4" label="-cc-">
<viz:size value="1"/>
<attvalues>
<attvalue for="0" value="person"/>
<attvalue for="1" value="Poland"/>
<attvalue for="2" value="8.6959"/>
</attvalues>
</node>
</nodes>
<edges>
<!-- bipartite 1|1 -->
<edge id="1" source="T::1" target="P::1"/>
<edge id="2" source="T::1" target="P::2"/>
<edge id="3" source="T::2" target="P::3"/>
<edge id="4" source="T::3" target="P::2"/>
<edge id="5" source="T::3" target="P::3"/>
<edge id="6" source="T::4" target="P::0"/>
<edge id="7" source="T::4" target="P::3"/>
<edge id="8" source="T::1" target="P::4"/>
<edge id="9" source="T::4" target="P::4"/>
<!-- intra sem 1|0 -->
<edge id="10" source="T::2" target="T::3"/>
<edge id="11" source="T::3" target="T::4"/>
<edge id="12" source="T::0" target="T::1"/>
<edge id="13" source="T::0" target="T::3"/>
<!-- intra soc 0|1 -->
<edge id="14" source="P::0" target="P::1"/>
<edge id="15" source="P::1" target="P::2"/>
<edge id="16" source="P::2" target="P::3"/>
<edge id="17" source="P::1" target="P::4"/>
</edges>
</graph>
</gexf>
{
"mini.gexf": {
"node0": {
"name": "term",
"reldbs": {
"csv": {
"file": "mini.csv",
"qcols": ["title","keywords","text"],
"template": "bib_details"
},
"twitter": {}
}
},
"node1": {
"name": "person",
"reldbs": {
"csv": {
"file": "mini.csv",
"qcols": ["author"],
"template": "bib_details"
}
}
}
}
}
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="48mm"
height="48mm"
viewBox="0 0 48 48"
version="1.1"
id="svg8"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
sodipodi:docname="coronavirus.svg"
inkscape:export-filename="/data/www/maps/maps/clinicaltrials/images/corona4banner.png"
inkscape:export-xdpi="30.001333"
inkscape:export-ydpi="30.001333">
<defs
id="defs2" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="1.4"
inkscape:cx="-41.709689"
inkscape:cy="42.83284"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
showgrid="false"
showguides="true"
inkscape:guide-bbox="true"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:window-width="1920"
inkscape:window-height="1016"
inkscape:window-x="0"
inkscape:window-y="27"
inkscape:window-maximized="1">
<sodipodi:guide
position="123.32792,243.11299"
orientation="0,1"
id="guide817"
inkscape:locked="false" />
</sodipodi:namedview>
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Calque 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(201.19101,-28.714168)">
<g
id="g839"
transform="matrix(0.8337675,0,0,0.83377368,-21.179249,12.351918)"
style="stroke-width:1.19937074"
inkscape:export-xdpi="30"
inkscape:export-ydpi="30">
<path
transform="matrix(0.32800827,0,0,0.32801646,-135.10967,51.461643)"
inkscape:transform-center-y="0.057566096"
inkscape:transform-center-x="0.12093671"
d="m -106.79975,51.465759 c -18.09949,14.309765 16.543971,10.296185 -4.56881,19.707735 -21.11277,9.411549 3.77836,-13.727392 -19.07136,-10.063578 -22.84972,3.663814 8.65141,17.810108 -14.30338,15.138231 -22.95479,-2.671877 10.91504,-9.235399 -10.59896,-17.574971 -21.51401,-8.339575 -1.83587,19.616303 -20.56286,6.07391 -18.72699,-13.542391 14.63957,-2.646807 0.31889,-20.630646 -14.32068,-17.983841 -11.42506,16.086002 -20.57838,-5.0558 -9.15331,-21.141798 13.55503,4.342986 10.31055,-18.394058 -3.24449,-22.737047 -17.23548,7.701145 -14.95442,-15.2652273 2.28107,-22.9663687 9.12353,11.4759083 17.32469,-10.1363735 8.20116,-21.6122852 -18.71507,-1.9239332 -5.30637,-20.6665872 13.4087,-18.742651 2.33304,14.123979 20.44862,-0.121447 18.11558,-14.245428 -16.57113,-10.576572 4.56776,-19.79618 21.13887,-9.219607 -4.03959,12.847147 18.73328,9.616042 22.77287,-3.231105 -8.70512,-18.350298 14.24923,-15.635703 22.95434,2.714595 -10.51324,9.53345 11.00805,17.887477 21.521287,8.354028 1.50958,-19.19254 19.927908,-5.361064 18.418325,13.831474 -13.190078,2.209139 0.986011,20.304574 14.176089,18.09543733 11.176518,-15.665138 20.298362,5.58368 9.121842,21.2488151 -13.741162,-4.164951 -10.183314,18.5933063 3.557848,22.7582607 17.541392,-8.5092362 14.844027,14.3201147 -2.697365,22.829348 -9.177264,-10.5249038 -17.324706,11.046829 -8.147443,21.571737 19.027637,0.955042 5.288488,19.389733 -13.739146,18.434688 -2.75381,-13.26976 -20.853306,1.040003 z"
inkscape:randomized="0.008"
inkscape:rounded="1.11"
inkscape:flatsided="false"
sodipodi:arg2="1.1560098"
sodipodi:arg1="0.89421037"
sodipodi:r2="63.988586"
sodipodi:r1="49.27121"
sodipodi:cy="12.761905"
sodipodi:cx="-137.58333"
sodipodi:sides="12"
id="path815"
style="opacity:0.50700001;fill:#42cfae;fill-opacity:1;fill-rule:nonzero;stroke:#756f75;stroke-width:0.96744359;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:0.9674436, 5.80466165;stroke-dashoffset:0;stroke-opacity:1"
sodipodi:type="star" />
<ellipse
ry="2.071506"
rx="1.9371279"
cy="46.787125"
cx="-185.53905"
id="path819"
style="opacity:0.50700001;fill:#42cfae;fill-opacity:1;fill-rule:nonzero;stroke:#756f75;stroke-width:0.31733349;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:0.31733346, 1.90400081;stroke-dashoffset:0;stroke-opacity:1" />
<ellipse
ry="2.071506"
rx="1.9371281"
cy="45.267857"
cx="-175.09747"
id="path819-6"
style="opacity:0.50700001;fill:#42cfae;fill-opacity:1;fill-rule:nonzero;stroke:#756f75;stroke-width:0.31733349;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:0.31733346, 1.90400083;stroke-dashoffset:0;stroke-opacity:1" />
<ellipse
ry="2.071506"
rx="1.9371281"
cy="54.906246"
cx="-180.01115"
id="path819-2"
style="opacity:0.50700001;fill:#42cfae;fill-opacity:1;fill-rule:nonzero;stroke:#756f75;stroke-width:0.31733349;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:0.31733346, 1.90400083;stroke-dashoffset:0;stroke-opacity:1" />
<ellipse
ry="2.071506"
rx="1.9371281"
cy="61.331844"
cx="-188.42113"
id="path819-61"
style="opacity:0.50700001;fill:#42cfae;fill-opacity:1;fill-rule:nonzero;stroke:#756f75;stroke-width:0.31733349;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:0.31733346, 1.90400083;stroke-dashoffset:0;stroke-opacity:1" />
<ellipse
ry="2.071506"
rx="1.9371281"
cy="61.898808"
cx="-171.79016"
id="path819-8"
style="opacity:0.50700001;fill:#42cfae;fill-opacity:1;fill-rule:nonzero;stroke:#756f75;stroke-width:0.31733349;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:0.31733346, 1.90400083;stroke-dashoffset:0;stroke-opacity:1" />
<ellipse
transform="scale(1,-1)"
ry="2.071506"
rx="1.9371281"
cy="-52.921875"
cx="-169.23885"
id="path819-7"
style="opacity:0.50700001;fill:#42cfae;fill-opacity:1;fill-rule:nonzero;stroke:#756f75;stroke-width:0.31733349;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:0.31733346, 1.90400083;stroke-dashoffset:0;stroke-opacity:1" />
<ellipse
ry="2.071506"
rx="1.9371281"
cy="53.677826"
cx="-192.57887"
id="path819-9"
style="opacity:0.50700001;fill:#42cfae;fill-opacity:1;fill-rule:nonzero;stroke:#756f75;stroke-width:0.31733349;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:0.31733346, 1.90400083;stroke-dashoffset:0;stroke-opacity:1" />
<ellipse
ry="2.071506"
rx="1.9371281"
cy="65.489586"
cx="-179.4442"
id="path819-20"
style="opacity:0.50700001;fill:#42cfae;fill-opacity:1;fill-rule:nonzero;stroke:#756f75;stroke-width:0.31733349;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:0.31733346, 1.90400083;stroke-dashoffset:0;stroke-opacity:1" />
</g>
</g>
</svg>
This diff is collapsed.
{
"data/Treatments_": [
"Conditionnal.gexf"
],"data/Treatments": [
"Distributional.gexf"
"data/conditionnal": [
"ClinicalTrials_c_2020_05_05.gexf"
],"data/distributional": [
"ClinicalTrials_d_2020_05_05.gexf"
],
"data/All_": [
"Conditionnal.gexf"
],
"data/All": [
"Distributional.gexf"
],
"first_project": "data/Treatments_"
"first_project": "data/conditionnal"
}
......@@ -7,7 +7,7 @@ TW.conf = (function(TW){
let TWConf = {}
TWConf.branding = 'Coronavirus Clinical Trials' // <--- name displayed in upper left
TWConf.brandingLink = 'https://iscpif.fr/projects/coronavirus-related-projects' // <--- link to "home"
TWConf.brandingLink = 'http://www.covid-nma.com/' // <--- link to "home"
// ==========================
......@@ -179,16 +179,16 @@ TW.conf = (function(TW){
// if fa2Available, the auto-run config:
TWConf.fa2Enabled= false; // fa2 auto-run at start and after graph modified ?
TWConf.fa2Milliseconds=4000; // duration of auto-run
TWConf.minNodesForAutoFA2 = 5 // graph size threshold to auto-run
TWConf.fa2Enabled= true; // fa2 auto-run at start and after graph modified ?
TWConf.fa2Milliseconds=1000; // duration of auto-run
TWConf.minNodesForAutoFA2 = 10000 // graph size threshold to auto-run
// Full-text search
// ----------------
TWConf.maxSearchResults = 10 // how many "top papers" to display
TWConf.maxSearchResults = 20 // how many "top papers" to display
TWConf.minLengthAutoComplete = 1 // how many chars to type for autocomp
TWConf.maxSuggestionsAutoComplete = 10 // how many suggestions by autocomp
TWConf.maxSuggestionsAutoComplete = 15 // how many suggestions by autocomp
TWConf.strSearchBar = "Search"
......
......@@ -20,6 +20,8 @@ html.waiting {
cursor: wait;
}
#sigma-contnr {
position: fixed;
top: 105px;
......@@ -314,7 +316,7 @@ ul.infoitems {
padding: 10px;
border: 1px solid #555;
border-radius: 0 4px 4px 4px;
background-color: #BBB;
background-color: #1a80b6;
display: block;
}
......@@ -422,3 +424,43 @@ ul.infoitems {
#search_table td label {
font-weight:normal;
}
/* custom fpr nma */
.navbar {
background-color: #1a80b6;
border: 0px solid transparent;
}
body {
color: #fff;
}
.navbar-default .navbar-nav > li > a {
color: #f0f0f0;
}
.btn-primary.disabled.focus, .btn-primary.disabled:focus, .btn-primary.disabled:hover, .btn-primary[disabled].focus, .btn-primary[disabled]:focus, .btn-primary[disabled]:hover, fieldset[disabled] .btn-primary.focus, fieldset[disabled] .btn-primary:focus, fieldset[disabled] .btn-primary:hover {
background-color: #288008;
}
.btn-primary {
background-color: #0f3739;
}
.btn-sm{
margin-left: ($spacer * .5) !important;
}
body {
color: #1a80b6;
}
.slider-legend{
color: #f0f0f0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment