Skip to main content

File backed objects for array and matrix like data

Project description

Project generated with PyScaffold

FileBackedArray

Python package to support file backed arrays and matrices stored in H5 file. Will soon support tiledb and zarr based formats.

Install

Package is published to PyPI

pip install filebackedarray

Usage

from filebackedarray import H5BackedAssay

matrix = H5BackedAssay("tests/data/tenx.sub.h5", group="matrix")

# get the dimensions of the matrix
print("matrix shape: ", matrix.shape)

# slice the matrix
matrix_slice = matrix[0:100, 1:101]

For more use cases including subset, checkout the documentation

Note

This project has been set up using PyScaffold 4.5. For details and usage information on PyScaffold see https://pyscaffold.org/.

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

FileBackedArray-0.0.2.tar.gz (986.0 kB view hashes)

Uploaded Source

Built Distribution

FileBackedArray-0.0.2-py3-none-any.whl (6.1 kB view hashes)

Uploaded 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