PyROTS: Reproducibility-Optimized Test Statistic (in Python)
This is a Python wrapper for the ROTS R package which implements the Reproducibility-Optimized Test Statistic for differential testing in omics data. This means that while this package is run entirely in Python, underneath it runs an R process and the original R package. You do not need to care about all this, but you DO need to have R and the ROTS package installed.
You can install R from the R Project website: https://cran.r-project.org/. After that, run the following in terminal to install ROTS
Rscript -e 'if (!require("BiocManager", quietly = TRUE)) install.packages("BiocManager"); BiocManager::install("ROTS")'
Usage
Below is a minimal example that shows what the inputs should look like: data should be given as a pandas Data Frame and the group labels as a pandas Series.
Samples are in columns and the order should match with groups.
import numpy as np
import pandas as pd
from PyROTS import ROTS
data = pd.DataFrame(np.random.normal(size = (100,10)), index = ["gene_" + s for s in list(map(str,range(100)))])
groups = pd.Series(5*["A"]+5*["B"])
res = ROTS(data, groups)
Please consult the documentation for the R package for details about the method and functionality.
NB: This is a work in progress, some functions might not be available.
Metadata
Release files for PyROTS 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyrots-0.1.2.tar.gz | 9.8 kB | Without provenance | Details for pyrots-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyrots-0.1.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for pyrots-0.1.2-py2.py3-none-any.whl |
Total release size: 13.9 kB
Release files / pyrots-0.1.2.tar.gz
| Download URL | pyrots-0.1.2.tar.gz |
|---|---|
| Size | 9.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d8d174479c31b4cb97853d94eb3f639bdcf38041b11f5344ed65dc7a009c7b5e
|
|
BLAKE2b-256 checksum How to use checksums |
c58fb29bf22290f6d90211dfdba17fc8fc65a5ae90062c4eab7401315d387f50
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Hatch/1.16.5 cpython/3.14.2 HTTPX/0.28.1
|
Release files / pyrots-0.1.2-py2.py3-none-any.whl
| Download URL | pyrots-0.1.2-py2.py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
4b0ececa43def5ef953aa2f646ed15d5258118af9ce719c93902be9be5ab70b1
|
|
BLAKE2b-256 checksum How to use checksums |
8c2a4be0c1b00dad8d7ecbe9290a246c8199292f502ff246badfecace84005f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Hatch/1.16.5 cpython/3.14.2 HTTPX/0.28.1
|
Security for PyROTS 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.