Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ Follow https://twitter.com/marenbuettner to learn about a first public release.

For beta users: Read the [docs](https://pytometry.netlify.app).

You can install `pytometry` via [pip](https://pip.pypa.io/) from [PyPI](PyPI):
## Installation

You can install `pytometry` via [pip](https://pip.pypa.io/) from [PyPI](https://pypi.org/):

```
pip install pytometry
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
```{include} ../README.md
:start-line: 0
:end-line: 17
:end-line: 35
```

```{toctree}
Expand Down
10 changes: 10 additions & 0 deletions docs/tutorials/quickstart.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,16 @@
"pm.pl.plotdata(adata)"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "5fb73d4d",
"metadata": {},
"outputs": [],
"source": [
"pm.pl.scatter_density(adata)"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down
2 changes: 1 addition & 1 deletion pytometry/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

"""

__version__ = "0.1.1" # denote a pre-release for 0.1.0 with 0.1a1
__version__ = "0.1.2" # denote a pre-release for 0.1.0 with 0.1a1

from . import plotting as pl
from . import preprocessing as pp
Expand Down
1 change: 1 addition & 0 deletions pytometry/plotting/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
from ._histogram import plotdata
from ._scatter_density import scatter_density
3 changes: 1 addition & 2 deletions pytometry/preprocessing/_process_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,8 @@ def compensate(
compens = compens.iloc[query_idx, query_idx]
# sort compensation matrix by adata.var_names
compens = compens.iloc[idx_sort, idx_sort]
X_comp = np.linalg.solve(compens, adata.X[:, ref_idx].T).T
X_comp = np.linalg.solve(compens.T, adata.X[:, ref_idx].T).T
adata.X[:, ref_idx] = X_comp

# check for nan values
nan_val = np.isnan(adata.X[:, ref_idx]).sum()
if nan_val > 0:
Expand Down