GithubHelp home page GithubHelp logo

biocpy / singlecellexperiment Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 1.0 4.23 MB

Container class for single-cell experiments

Home Page: https://biocpy.github.io/SingleCellExperiment/

License: MIT License

Python 100.00%
singlecellexperiment

singlecellexperiment's Introduction

BiocPy

Installs all BiocPy packages. The package itself does not provide any functionality on its own. It provides an

  • easier way to install all core packages
  • an interface to access the base data representations or classes

Install

Package is published to PyPI

pip install biocpy

Usage

To import any of the data classes,

from biocpy.genomicranges import GenomicRanges
from biocpy.summarizedexperiment import SummarizedExperiment
from biocpy.singlecellexperiment import SingleCellExperiment 
from biocpy.multiassayexperiment import MultiAssayExperiment

gr = GenomicRange(...)
se = SummarizedExperiment(...)
sce = SingleCellExperiment(...)
mae = MultiAssayExperiment(...)

For more use cases, checkout the documentation.

Note

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

singlecellexperiment's People

Contributors

jkanche avatar ltla avatar pre-commit-ci[bot] avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

dideoxy

singlecellexperiment's Issues

export sce from python

hello, the package is very cool to convert annadata into sce format. May i ask a question, please? How do i export the sce object to be able to load into R? Thanks a lot.

Why does SCE default to `None` for the alternative experiments?

import singlecellexperiment
import numpy
sce = singlecellexperiment.SingleCellExperiment({ "counts": numpy.random.rand(100, 10) })
print(sce.alternative_experiments)
## None

This should just be initialized as a dict and save us all the trouble of having to set it on first use. The same applies to everything else in the BiocPy suite; things should be initialized and ready for use.

Export BaseSE class

As it is used to type the experiment field a developer needs easy access to it when they want to use type hints.

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.