Giter Site home page Giter Site logo

mudata's Introduction

MuData

R-CMD-check pkgdown

Documentation | Preprint | Discord

MuData is a package that provides I/O functionality for .h5mu files and MultiAssayExperiment objects.

You can learn more about multimodal data containers in the reference mudata documentation.

Installation

MuData uses rhdf5 to access .h5mu and .h5ad files. In the meantime, the bioc-devel version of rhdf5 must be used.

rhdf5 and MuData can be installed by running

remotes::install_github("grimbough/rhdf5")
remotes::install_github("ilia-kats/MuData")

We use rhdf5 over hdf5r to stay compatible with the rest of the Bioconductor ecosystem. In particular, using hdf5r would make integrating with other packages building on rhdf5, such as HDF5Array, much more difficult, if not impossible. We have implemented necessary HDF5 features that the .h5ad and consequently .h5mu formats make use of upstream, including file creation properties and object references.

Quick start

MuData provides a set of I/O operations for multimodal data.

MuData implements WriteH5MU() that saves MultiAssayExperiment objects to .h5mu files that can be further integrated into workflows in multiple programming languages, including the muon Python library and the Muon.jl Julia library. ReadH5MU() reads .h5mu files into MultiAssayExperiment objects.

Writing files

Start with an existing dataset, e.g. a MultiAssayExperiment object with five distinct modalities:

library(MultiAssayExperiment)
data(miniACC)

WriteH5MU() allows to save the object into a .h5mu file:

library(MuData)
WriteH5MU(miniACC, "miniACC.h5mu")

Reading files

miniACC <- ReadH5MU("miniACC.h5mu")

Relevant projects

Other R packages for multimodal I/O include:

mudata's People

Contributors

gtca avatar ilia-kats avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.