Incremental PCA Service

Usage

In order to receive data from this service, pleace send a POST request to this URL.

Example:

{
    "database": "surechembl",
    "fingerprint": "mqn",
    "dimensions": 3,
    "binning": true,
    "resolution": 250,
    "data": [
        [2,2,4,5,3,0,0,0,2,0,0,0,0,19,14,0,0,0,0,0,0,1,1,0,3,5,2,1,1,6,4,0,2,0,0,6,5,0,8,1,0,1],
        [0,0,3,4,11,0,0,0,1,0,0,0,0,22,16,1,0,0,0,0,0,0,1,0,4,5,7,4,0,5,1,0,0,0,0,3,3,0,15,1,0,0],
        ...
    ]
}

If successful, the service returns data in the form of:

{
    "success": true,
    "database": "surechembl",
    "fingerprint": "mqn",
    "dimensions": 3,
    "data": [
        [153.12, -23.35653, 27.12],
        [282.162, 35.47863, -2.64],
        ...
    ]
}

If unsuccessful, the service returns the error:

{
    "success": false,
    "error": 'Oops! Something went wrong.'
}

Test

Send a post request to .