Skip to content

Commit

Permalink
update docstring again
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgayoso authored and ivirshup committed Jul 29, 2020
1 parent 8bae64a commit d79213f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scanpy/preprocessing/_highly_variable_genes.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,10 +366,10 @@ def highly_variable_genes(
batch_key
If specified, highly-variable genes are selected within each batch separately and merged.
This simple process avoids the selection of batch-specific genes and acts as a
lightweight batch correction method. For the dispersion-based methods, genes are first sorted
by how many batches they are a HVG, and ties are broken by normalized dispersion.
If `flavor = 'seurat_v3'`, genes are first sorted by how many batches they are a HVG and ties are
broken by the median (across batches) rank based on within-batch normalized variance.
lightweight batch correction method. For all flavors, genes are first sorted
by how many batches they are a HVG. For dispersion-based flavors ties are broken
by normalized dispersion. If `flavor = 'seurat_v3'`, ties are broken by the median
(across batches) rank based on within-batch normalized variance.
Returns
-------
Expand Down

0 comments on commit d79213f

Please sign in to comment.