The preprocessing lib for olink data
- Free software: MIT license
- Documentation: https://olinkform.readthedocs.io.
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']
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.