Browse Transcription Factors mm9: Difference between revisions
From FANTOM5_SSTAR
No edit summary |
No edit summary |
||
Line 93: | Line 93: | ||
var return_val = "" | var return_val = "" | ||
for (i = 0; i < splitted.length; i++) { | for (i = 0; i < splitted.length; i++) { | ||
if (splitted[i].toString().indexOf(" | if (splitted[i].toString().indexOf("JASPAR motif") >= 0) { | ||
return_val = '<a href=\"/5/sstar/' + splitted[i] + '\"><img src=\"/5/sstar/seqlogo/jaspar/' + splitted[i].split(":")[1] + '.png" class="ImageBorder" alt="' + splitted[i] + '">' + '</a>' + return_val; | return_val = '<a href=\"/5/sstar/' + splitted[i] + '\"><img src=\"/5/sstar/seqlogo/jaspar/' + splitted[i].split(":")[1] + '.png" class="ImageBorder" alt="' + splitted[i] + '">' + '</a>' + return_val; | ||
} else if (splitted[i].toString().indexOf("Swissregulon") >= 0) { | } else if (splitted[i].toString().indexOf("Swissregulon") >= 0) { | ||
Line 104: | Line 104: | ||
} | } | ||
} else { | } else { | ||
if (splitted[0].toString().indexOf(" | if (splitted[0].toString().indexOf("JASPAR motif") >= 0) { | ||
return_val = '<a href=\"/5/sstar/' + splitted[0] + '\"><img src=\"/5/sstar/seqlogo/jaspar/' + splitted[0].split(":")[1] + '.png" class="ImageBorder" alt="' + splitted[0] + '">' + '</a>' ; | return_val = '<a href=\"/5/sstar/' + splitted[0] + '\"><img src=\"/5/sstar/seqlogo/jaspar/' + splitted[0].split(":")[1] + '.png" class="ImageBorder" alt="' + splitted[0] + '">' + '</a>' ; | ||
} else if (splitted[0].toString().indexOf("Swissregulon") >= 0) { | } else if (splitted[0].toString().indexOf("Swissregulon") >= 0) { |
Revision as of 11:21, 28 January 2019
Mouse transcription factors