Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Assay

Index

Functions

  • Gets all assays

    Examples

    function successHandler(assayArray){
    var html = '';
    for (var defIndex = 0; defIndex < assayArray.length; defIndex ++){
    var definition = assayArray[defIndex ];
    html += '<b>' + definition.type + '</b>: '
    + definition.name + '<br>';
    for (var domain in definition.domains){
    html += ' ' + domain + '<br>';
    var properties = definition.domains[domain];
    for (var propertyIndex = 0; propertyIndex < properties.length; propertyIndex++){
    var property = properties[propertyIndex];
    html += ' ' + property.name +
    ' - ' + property.typeName + '<br>';
    }
    }
    }
    document.getElementById('testDiv').innerHTML = html;
    }

    function errorHandler(error){
    alert('An error occurred retrieving data.');
    }

    LABKEY.Assay.getAll({success: successHandler, failure: errorHandler});
    see

    AssayDesign

    Parameters

    Returns XMLHttpRequest

  • Retrieve the URL of an image that contains a graph of dilution curves for NAb results that have been copied to a study. Note that this method must be executed against the study folder containing the copied NAb summary data.

    Examples

    <script type="text/javascript">
    function showGraph(data){
    var el = document.getElementById("graphDiv");
    if (data.objectIds && data.objectIds.length > 0)
    el.innerHTML = '<img src=\"' + data.url + '\">';
    else
    el.innerHTML = 'No graph available. Insufficient permissions, ' + 'or no matching results were found.';
    }

    function initiateGraph(ids){
    LABKEY.Assay.getStudyNabGraphURL({
    objectIds: ids,
    success: showGraph,
    captionColumn: 'VirusName',
    chartTitle: 'My NAb Chart',
    height: 500,
    width: 700,
    fitType: 'FOUR_PARAMETER'
    });
    }

    Ext.onReady(initiateGraph([185, 165]));
    </script>
    <div id="graphDiv">

    Parameters

    Returns XMLHttpRequest

  • Select detailed NAb information for runs with summary data that has been linked to a study folder. Note that this method must be executed against the study folder containing the copied NAb summary data.

    Parameters

    Returns XMLHttpRequest

Generated using TypeDoc