Template:Known motif: Difference between revisions
From FANTOM5_SSTAR
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
var sReturn =""; | var sReturn =""; | ||
var motif_id =""; | var motif_id =""; | ||
var m_data = []; | |||
/* Formating function for row details */ | /* Formating function for row details */ | ||
$(document).ready(function() { | $(document).ready(function() { | ||
var subclusters = "</html>{{{motif_cluster_2013_march_subclusters}}}<html>"; | var subclusters=""; | ||
var | var subclusters_content = "</html>{{{motif_cluster_2013_march_subclusters}}}<html>"; | ||
for(i=0;i< | var subclusters_content = subclusters_content.split("/"); | ||
for(i=0;i<subclusters_content.length;i++){ | |||
var necessary_part=""; | var necessary_part=""; | ||
tmp_element = | tmp_element = subclusters_content[i]; | ||
var total_length =tmp_element.length; | var total_length =tmp_element.length; | ||
if(total_length>1){ | if(total_length>1){ | ||
var first_occurrence = tmp_element.indexOf(":"); | var first_occurrence = tmp_element.indexOf(":"); | ||
necessary_part = tmp_element.substring(first_occurrence,total_length); | necessary_part = tmp_element.substring(first_occurrence,total_length); | ||
}else{ | |||
} | |||
if(necessary_part != null && necessary_part.length>1 ){ | |||
subclusters = necessary_part.split(","); | |||
if(subclusters != null && subclusters.length>1 ){ | |||
for(j=0;j<subclusters.length;j++){ | |||
m_data.push(); | |||
} | |||
} | |||
} | |||
else{ | |||
} | } | ||
} | } |
Revision as of 11:42, 25 April 2013
- Name:{{{name}}}
Sub Clusters
<br>Analyst: Ivan