Skip to main content

The preprocessing lib for olink data

Project description

olinkform

https://img.shields.io/pypi/v/olinkform.svg https://github.com/Brodinlab/olinkform/workflows/Python%20package/badge.svg?branch=master https://github.com/Brodinlab/olinkform/workflows/Upload%20Python%20Package/badge.svg Documentation Status

The preprocessing lib for olink data

Usage

Parse a data file

from olinkform import parse

result = parse(path, version)
# version v1 or v2 are supported,
# which are corresponding to the old and new olink formats, individually

The result is a dict with the following format

{
    "sampleId": {
        "markerId" : {
            "batch": string
            "value": float,
            "LOD": float,
            "MDF": float
        }
    }
}

Parse a data file to dataframe

from olinkform import parse_to_dataframe

df = parse_to_dataframe(path, version)

The result is a dataframe with columns:

['batch', 'sample_id','marker', 'value', 'LOD', 'MDF']

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.1.0 (2020-06-01)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

olinkform-0.5.0.tar.gz (925.1 kB view hashes)

Uploaded Source

Built Distribution

olinkform-0.5.0-py2.py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page