Personal tools

User:Serkan/test2/known1: Difference between revisions

From FANTOM5_SSTAR

Jump to: navigation, search
No edit summary
No edit summary
Line 35: Line 35:
sReturn = sReturn.split(":");
sReturn = sReturn.split(":");
  return '<a href=/resource_browser/User:Serkan/test2/'+global_name+'>'+sReturn[1]+'</a>';}}
  return '<a href=/resource_browser/User:Serkan/test2/'+global_name+'>'+sReturn[1]+'</a>';}}
,
{ "sTitle": "Sequence logos", "mData": 1, "mRender": function (data) {
var number_prefix ="";
var SReturn_org = global_name;
sReturn_prefix = SReturn_org .split(":")[0];
if(sReturn_prefix = "HOCOMOCO"){
number_prefix = "426";
}
else if(sReturn_prefix = "JASPAR"){
number_prefix = "130";
}
else if(sReturn_prefix = "HOMER"){
number_prefix = "138";
}
else if(sReturn_prefix = "SWISSREGULON"){
number_prefix = "190";
}
else if(sReturn_prefix = "UNIPROBE"){
number_prefix = "413";
}
else if(sReturn_prefix = "ENCODE"){
number_prefix = "683";
}
sReturn_prefix = "KNOWN"+"_"+number_prefix+"_201304";
return '<img src="/resource_browser/seqlogos/' +sReturn_prefix+"/"+ data + '.png" width ="80" height = "20">'; }
}
                       ]   
                       ]   
       } );   
       } );   

Revision as of 11:31, 19 April 2013

known motifs