py-sparkx-omicverse 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- py_sparkx_omicverse-0.1.0/ATTRIBUTION.md +24 -0
- py_sparkx_omicverse-0.1.0/AUDIT.md +44 -0
- py_sparkx_omicverse-0.1.0/AUDIT_AUTO.md +20 -0
- py_sparkx_omicverse-0.1.0/DISCOVERY.md +11 -0
- py_sparkx_omicverse-0.1.0/LICENSE +674 -0
- py_sparkx_omicverse-0.1.0/MANIFEST.in +4 -0
- py_sparkx_omicverse-0.1.0/PKG-INFO +737 -0
- py_sparkx_omicverse-0.1.0/README.md +45 -0
- py_sparkx_omicverse-0.1.0/RECONSTRUCTION_REPORT.md +18 -0
- py_sparkx_omicverse-0.1.0/RELEASE.md +37 -0
- py_sparkx_omicverse-0.1.0/data/coordinates.csv +120 -0
- py_sparkx_omicverse-0.1.0/data/covariates.csv +120 -0
- py_sparkx_omicverse-0.1.0/data/covariates_combined.csv +90 -0
- py_sparkx_omicverse-0.1.0/data/covariates_p.csv +90 -0
- py_sparkx_omicverse-0.1.0/data/covariates_stats.csv +90 -0
- py_sparkx_omicverse-0.1.0/data/input.csv +90 -0
- py_sparkx_omicverse-0.1.0/data/mixture_combined.csv +90 -0
- py_sparkx_omicverse-0.1.0/data/mixture_p.csv +90 -0
- py_sparkx_omicverse-0.1.0/data/mixture_stats.csv +90 -0
- py_sparkx_omicverse-0.1.0/data/single_combined.csv +90 -0
- py_sparkx_omicverse-0.1.0/data/single_p.csv +90 -0
- py_sparkx_omicverse-0.1.0/data/single_stats.csv +90 -0
- py_sparkx_omicverse-0.1.0/manifest.yaml +23 -0
- py_sparkx_omicverse-0.1.0/port.yaml +257 -0
- py_sparkx_omicverse-0.1.0/py_sparkx_omicverse.egg-info/PKG-INFO +737 -0
- py_sparkx_omicverse-0.1.0/py_sparkx_omicverse.egg-info/SOURCES.txt +35 -0
- py_sparkx_omicverse-0.1.0/py_sparkx_omicverse.egg-info/dependency_links.txt +1 -0
- py_sparkx_omicverse-0.1.0/py_sparkx_omicverse.egg-info/requires.txt +6 -0
- py_sparkx_omicverse-0.1.0/py_sparkx_omicverse.egg-info/top_level.txt +1 -0
- py_sparkx_omicverse-0.1.0/pyproject.toml +24 -0
- py_sparkx_omicverse-0.1.0/pysparkx/__init__.py +2 -0
- py_sparkx_omicverse-0.1.0/pysparkx/_davies.py +148 -0
- py_sparkx_omicverse-0.1.0/pysparkx/core.py +121 -0
- py_sparkx_omicverse-0.1.0/scripts/test_installed.py +45 -0
- py_sparkx_omicverse-0.1.0/setup.cfg +4 -0
- py_sparkx_omicverse-0.1.0/tests/reference.R +23 -0
- py_sparkx_omicverse-0.1.0/tests/test_parity.py +36 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Attribution
|
|
2
|
+
|
|
3
|
+
Upstream SPARK 1.1.1, commit a8b4bf27b804604dfda53da42992f100b8e4e727.
|
|
4
|
+
Algorithms reconstructed from the upstream source under the accompanying LICENSE.
|
|
5
|
+
Upstream author declarations:
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
Package: SPARK
|
|
9
|
+
Type: Package
|
|
10
|
+
Title: Spatial Pattern Recognition via Kernels
|
|
11
|
+
Version: 1.1.1
|
|
12
|
+
Date: 2021-02-18
|
|
13
|
+
Author: Shiquan Sun, Jiaqiang Zhu, and Xiang Zhou
|
|
14
|
+
Maintainer: Jiaqiang Zhu <jiaqiang@umich.edu>
|
|
15
|
+
Description: SPARK is an efficient tool for identifying spatial expression patterns. SPARK directly models raw count data generated from various spatial resolved transcriptomic techniques. With a new efficient penalized quasi-likelihood based algorithm, SPARK is scalable to data sets with tens of thousands of genes measured on thousands of samples. Build upon a non-parametric framework, SPARK-X is scalable to large-scale data sets with tens of thousands of genes measured on hundred thousands of samples.
|
|
16
|
+
License: GPL-3
|
|
17
|
+
Depends: R (>= 3.4.0), methods
|
|
18
|
+
Imports: Rcpp (>= 1.0.5),foreach,doParallel,parallel,Matrix,CompQuadForm,matlab,pracma
|
|
19
|
+
LinkingTo: Rcpp, RcppArmadillo
|
|
20
|
+
RoxygenNote: 7.1.1
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
The central Davies implementation also follows cran/CompQuadForm src/qfc.cpp at f1e110ac54aa0e64dda8cf6254823e801878e036, Algorithm AS 155 by Robert B. Davies (1980). GPL-compatible attribution retained in _davies.py.
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Reviewed R function coverage
|
|
2
|
+
|
|
3
|
+
AUDIT_AUTO.md is generated by rebuildr. This table also handles exportPattern and comma-separated exportMethods manually.
|
|
4
|
+
|
|
5
|
+
| R export | Python | Scope |
|
|
6
|
+
|---|---|---|
|
|
7
|
+
| ACAT | pysparkx.acat | SPARK-X single and mixture projection kernels, covariates, ACAT and BY. No SPARK generalized linear spatial mixed models, normalization suite or arbitrary quadratic-form API. |
|
|
8
|
+
| CombinePValues | - | Outside initial scope |
|
|
9
|
+
| ComputeGaussianL | - | Outside initial scope |
|
|
10
|
+
| ComputeGaussianPL | - | Outside initial scope |
|
|
11
|
+
| ComputeTestQuantRcpp_Gaussian | - | Outside initial scope |
|
|
12
|
+
| ComputeTestQuantRcpp_cov | - | Outside initial scope |
|
|
13
|
+
| ComputeTestQuantRcpp_nocov | - | Outside initial scope |
|
|
14
|
+
| ComputeWeightsRcpp | - | Outside initial scope |
|
|
15
|
+
| CovariatesAI | - | Outside initial scope |
|
|
16
|
+
| CreateSPARKObject | - | Outside initial scope |
|
|
17
|
+
| ED_cpp | - | Outside initial scope |
|
|
18
|
+
| FilteringGenesCells | - | Outside initial scope |
|
|
19
|
+
| NormalizeVST | - | Outside initial scope |
|
|
20
|
+
| NormalizeVSTfast | - | Outside initial scope |
|
|
21
|
+
| SparseSysMatEigen | - | Outside initial scope |
|
|
22
|
+
| SysMatEigen | - | Outside initial scope |
|
|
23
|
+
| noCovariatesAI | - | Outside initial scope |
|
|
24
|
+
| rcpparma_bothproducts | - | Outside initial scope |
|
|
25
|
+
| rcpparma_hello_world | - | Outside initial scope |
|
|
26
|
+
| rcpparma_innerproduct | - | Outside initial scope |
|
|
27
|
+
| rcpparma_outerproduct | - | Outside initial scope |
|
|
28
|
+
| sp_means_Rcpp | - | Outside initial scope |
|
|
29
|
+
| sp_nz_count_Rcpp | - | Outside initial scope |
|
|
30
|
+
| sp_sums_Rcpp | - | Outside initial scope |
|
|
31
|
+
| sp_vars_Rcpp | - | Outside initial scope |
|
|
32
|
+
| spark.ai | - | Outside initial scope |
|
|
33
|
+
| spark.fit | - | Outside initial scope |
|
|
34
|
+
| spark.test | - | Outside initial scope |
|
|
35
|
+
| spark.test_each | - | Outside initial scope |
|
|
36
|
+
| spark.vc | - | Outside initial scope |
|
|
37
|
+
| spark.weights | - | Outside initial scope |
|
|
38
|
+
| sparkg_sw | - | Outside initial scope |
|
|
39
|
+
| sparkg_sw_sk | - | Outside initial scope |
|
|
40
|
+
| sparkx | pysparkx.sparkx | SPARK-X single and mixture projection kernels, covariates, ACAT and BY. No SPARK generalized linear spatial mixed models, normalization suite or arbitrary quadratic-form API. |
|
|
41
|
+
| sparkx.sk | - | Outside initial scope |
|
|
42
|
+
| sparkx.sksg | - | Outside initial scope |
|
|
43
|
+
| sparkx_pval | - | Outside initial scope |
|
|
44
|
+
| transloc_func | - | Outside initial scope |
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
## R function coverage audit
|
|
2
|
+
|
|
3
|
+
### Coverage summary
|
|
4
|
+
|
|
5
|
+
| Category | Ported | Total | % |
|
|
6
|
+
|---|---|---|---|
|
|
7
|
+
| Exported R functions | 0 | 0 | 0.0% |
|
|
8
|
+
| Internal helpers (reachable) | 0 | 0 | 0.0% |
|
|
9
|
+
|
|
10
|
+
_Python package exposes 0 unique names._
|
|
11
|
+
|
|
12
|
+
### Exported R functions
|
|
13
|
+
|
|
14
|
+
| R function | Python equivalent | Status |
|
|
15
|
+
|---|---|---|
|
|
16
|
+
|
|
17
|
+
### Internal helpers reachable from exports
|
|
18
|
+
|
|
19
|
+
| R helper | File | Python equivalent | Status |
|
|
20
|
+
|---|---|---|---|
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Discovery: SPARK
|
|
2
|
+
|
|
3
|
+
Checked omicverse organization repository inventory on 2026-11-11: no standalone target port found.
|
|
4
|
+
Upstream commit: `a8b4bf27b804604dfda53da42992f100b8e4e727`.
|
|
5
|
+
Scope: sparkx; other package functions are excluded.
|
|
6
|
+
|
|
7
|
+
Reuse: NumPy/SciPy/pandas for matrix and SVD/NNLS operations. muscat uses existing pyedger and python-limma rather than rewriting either statistical engine.
|
|
8
|
+
RUVg already exists in omicverse PR #1035 and will be extracted with its reference tests rather than independently duplicated.
|
|
9
|
+
Nebulosa and scran pooling have external candidates and are separate reuse audits, not new ports.
|
|
10
|
+
|
|
11
|
+
Fixed numerical gates are in manifest.yaml, committed before implementation. Synthetic and real public fixtures will be distinguished. No biological accuracy claim follows from fixture-level equivalence.
|