Template:Known motif: Difference between revisions
From FANTOM5_SSTAR
No edit summary |
No edit summary |
||
Line 61: | Line 61: | ||
"bInfo": false, | "bInfo": false, | ||
"aaData": m_data, | "aaData": m_data, | ||
" | "aoColumnDefs":[ | ||
{"aTargets":[0],sTitle": "motif_db"}, | |||
{"aTargets":[1],"sTitle": "motif_id", "fnRender": function ( obj ) { | |||
motif_id = obj.aData[ obj.iDataColumn ]; | motif_id = obj.aData[ obj.iDataColumn ]; | ||
motif_prefix = motif_id ; | motif_prefix = motif_id ; | ||
Line 70: | Line 70: | ||
return '<a href=/resource_browser/'+sReturn+'>'+motif_id+'</a>';} | return '<a href=/resource_browser/'+sReturn+'>'+motif_id+'</a>';} | ||
}, | }, | ||
{"aTargets":[2],"sTitle": "motif_name" }, | |||
{"aTargets":[3],"sTitle": "Sequence logo","fnRender": function (obj) { | |||
motif_id = motif_prefix; | motif_id = motif_prefix; | ||
var number_prefix =""; | var number_prefix =""; | ||
Line 96: | Line 96: | ||
motif_prefix = "KNOWN"+"_"+motif_db +"_"+number_prefix+"_201304"; | motif_prefix = "KNOWN"+"_"+motif_db +"_"+number_prefix+"_201304"; | ||
return '<img src="/resource_browser/seqlogos/' +motif_prefix+"/"+ motif_id+ '.png" width ="80" height = "20">'; } | return '<img src="/resource_browser/seqlogos/' +motif_prefix+"/"+ motif_id+ '.png" width ="80" height = "20">'; } | ||
} | |||
], | |||
"aaSorting": [[ 1, "asc" ]], | "aaSorting": [[ 1, "asc" ]], | ||
Revision as of 16:53, 25 April 2013
- Name:{{{name}}}
Sub Clusters
<br>Analyst: Ivan