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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file olinkform-0.5.0.tar.gz.

File metadata

  • Download URL: olinkform-0.5.0.tar.gz
  • Upload date:
  • Size: 925.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5

File hashes

Hashes for olinkform-0.5.0.tar.gz
Algorithm Hash digest
SHA256 7c9be2ae2100a1fa1a877fca6013355f0c35063fe186c7a13e17fd8f35241580
MD5 6e0fa38315b98073fd494f53bcfb0ab8
BLAKE2b-256 933b614633ad23010a98f257c65607baf95b8fd240c57711b2a4919e7cbf8fdc

See more details on using hashes here.

File details

Details for the file olinkform-0.5.0-py2.py3-none-any.whl.

File metadata

  • Download URL: olinkform-0.5.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5

File hashes

Hashes for olinkform-0.5.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8a4c96144f58f3680c18caf23550d3fe4e0c6637a3461166bd812a3acfbea4d7
MD5 7a2c6196f81eeae126e85fa3e2af7e78
BLAKE2b-256 ae30e44c0f6755e547e8efa8bbe315c215e4cd7898c0203ae703b344042be85d

See more details on using hashes here.

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