Personal tools

Template:AccessionNumbers: Difference between revisions

From FANTOM5_SSTAR

Jump to: navigation, search
No edit summary
No edit summary
Line 17: Line 17:
sample_accession_number = "</html>{{{DRA_sample_Accession}}}<html>";
sample_accession_number = "</html>{{{DRA_sample_Accession}}}<html>";
var accession_numbers  = "</html>{{{accession_numbers}}}<html>";
var accession_numbers  = "</html>{{{accession_numbers}}}<html>";
var sub_libraries = library_ids.split("!");
var accession_numbers_content = accession_numbers.split("!");
var accession_numbers_content = accession_numbers.split("!");


Line 22: Line 25:
for(i=0;i<accession_numbers_content.length;i++){
for(i=0;i<accession_numbers_content.length;i++){
tmp =new Array();  
tmp =new Array();  
tmp.push(sub_libraries[i]);
var row = accession_numbers_content[i];
var row = accession_numbers_content[i];
var columns = row.split(";");
var columns = row.split(";");
for(j=0;j<columns.length;j++){
for(j=0;j<columns.length;j++){
tmp.push(columns[j]);
tmp.push(columns[j]);
}
}
Line 39: Line 44:
                 "aaData": m_data,
                 "aaData": m_data,
"aoColumnDefs":[
"aoColumnDefs":[
{"aTargets":[0],"sTitle": "Library ID"},
{"aTargets":[0],"sTitle": "Library ID","fnRender": function ( obj ) {
                  return obj.aData[ obj.iDataColumn ];},
{"aTargets":[1],"sTitle": "Experiment Accession ID"},
{"aTargets":[1],"sTitle": "Experiment Accession ID"},
{"aTargets":[2],"sTitle": "Run Accession ID"},
{"aTargets":[2],"sTitle": "Run Accession ID"},

Revision as of 15:21, 28 May 2013

======Other TEST============
Accession Numbers
{{{accession_numbers}}}