Template:Known motif: Difference between revisions
From FANTOM5_SSTAR
No edit summary |
No edit summary |
||
Line 69: | Line 69: | ||
return '<a href=/resource_browser/'+sReturn+'>'+motif_id+'</a>';} | return '<a href=/resource_browser/'+sReturn+'>'+motif_id+'</a>';} | ||
}, | }, | ||
{ "sTitle": "motif_name" } | { "sTitle": "motif_name" }, | ||
{ "sTitle": "Sequence logo", "mData": 1, "mRender": function (obj) { | |||
motif_id = obj.aData[ obj.iDataColumn ]; | |||
motif_db = obj.aData[ 0 ]; | |||
var number_prefix =""; | |||
if(motif_db == "HOCOMOCO"){ | |||
number_prefix = "426"; | |||
} | |||
else if(motif_db== "JASPAR"){ | |||
number_prefix = "130"; | |||
motif_id= SReturn_org .split(":")[1].split(";")[1]; | |||
} | |||
else if(motif_db == "HOMER"){ | |||
number_prefix = "138"; | |||
} | |||
else if(motif_db == "SWISSREGULON"){ | |||
number_prefix = "190"; | |||
} | |||
else if(motif_db == "UNIPROBE"){ | |||
number_prefix = "413"; | |||
} | |||
else if(motif_db == "ENCODE"){ | |||
number_prefix = "683"; | |||
} | |||
motif_prefix = "KNOWN"+"_"+motif_db +"_"+number_prefix+"_201304"; | |||
return '<img src="/resource_browser/seqlogos/' +motif_prefix+"/"+ motif_id+ '.png" width ="80" height = "20">'; } | |||
} | |||
], | ], |
Revision as of 16:19, 25 April 2013
- Name:{{{name}}}
Sub Clusters
<br>Analyst: Ivan