Template:Known motif: Difference between revisions
From FANTOM5_SSTAR
No edit summary |
No edit summary |
||
Line 63: | Line 63: | ||
"aoColumns": [ | "aoColumns": [ | ||
{ "sTitle": "motif_db" }, | { "sTitle": "motif_db" }, | ||
{ "sTitle": "motif_id" }, | { ""sTitle": "motif id", "fnRender": function ( obj ) { | ||
sReturn = obj.aData[ obj.iDataColumn ]; | |||
var SReturn_org = sReturn ; | |||
var browser_link=global_name=SReturn_org ; | |||
sReturn = sReturn.split(":"); | |||
motif_prefix=sReturn[0]; | |||
motif_id = sReturn[1]; | |||
if(motif_prefix =="JASPAR"){ | |||
sReturn = sReturn[1].split(";"); | |||
motif_id = sReturn[1]; | |||
browser_link=motif_prefix +"_motif:"+motif_id; | |||
} | |||
return '<a href=/resource_browser/'+browser_link+'>'+motif_id +'</a>';} | |||
}, | |||
{ "sTitle": "motif_name" } | { "sTitle": "motif_name" } | ||
Revision as of 16:09, 25 April 2013
- Name:{{{name}}}
Sub Clusters
<br>Analyst: Ivan