Skip to content

Commit

Permalink
rejiggered internal structure for more clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
ktpolanski committed Jun 19, 2018
1 parent 926d4c6 commit 21d1a09
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .gitignore
@@ -1,2 +1,3 @@
.DS_Store
python_module/docs/_build
docs/_build
bbknn/__pycache__
File renamed without changes.
6 changes: 4 additions & 2 deletions python_module/bbknn/__init__.py → bbknn/__init__.py
Expand Up @@ -32,8 +32,10 @@ def bbknn(adata, batch_key='batch', neighbors_within_batch=3, metric='euclidean'
n_pcs : ``int``, optional (default 50)
How many principal components to use in the analysis.
scale_distance : ``Boolean``, optional (default False)
If True, lower the lowest across-batch distance to match the highest within-batch
neighbour\'s distance for each cell if needed.
If True, optionally lower the across-batch distances on a per-cell, per-batch basis to make
the closest neighbour match the furthest within-batch neighbour.
May help smooth out very severe batch effects with a risk of overly
connecting the cells.
n_jobs : ``int`` or ``None``, optional (default ``None``)
Parallelise neighbour identification when using an Euclidean distance metric,
if ``None`` use all cores. Does nothing with a different metric.
Expand Down
2 changes: 1 addition & 1 deletion python_module/docs/Makefile → docs/Makefile
Expand Up @@ -5,7 +5,7 @@
SPHINXOPTS =
SPHINXBUILD = sphinx-build
SPHINXPROJ = BBKNN
SOURCEDIR = source
SOURCEDIR = .
BUILDDIR = _build

# Put it first so that "make" without argument is like "make help".
Expand Down
2 changes: 1 addition & 1 deletion python_module/docs/source/conf.py → docs/conf.py
Expand Up @@ -14,7 +14,7 @@
#
import os
import sys
sys.path.insert(0, os.path.abspath('../..'))
sys.path.insert(0, os.path.abspath('..'))


# -- Project information -----------------------------------------------------
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion python_module/setup.py → setup.py
Expand Up @@ -5,7 +5,7 @@
version='1.0.0',
description='Batch balanced KNN',
url='https://github.com/Teichlab/bbknn',
packages=find_packages(),
packages=find_packages(find_packages(exclude=['docs', 'figures'])),
install_requires=['Cython','numpy','scanpy'],
author='Krzysztof Polanski, Jongeun Park',
author_email='kp9@sanger.ac.uk',
Expand Down

0 comments on commit 21d1a09

Please sign in to comment.