Skip to content

Commit

Permalink
improve docs, fix #200
Browse files Browse the repository at this point in the history
  • Loading branch information
kaizhang committed Dec 14, 2023
1 parent e13d69b commit e11e051
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 0 additions & 4 deletions snapatac2-python/snapatac2/tools/_call_peaks.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,6 @@ def macs3(
blacklist
Path to the blacklist file in BED format. If provided, regions in the blacklist will be
removed.
out_dir
If provided, raw peak files from each group will be saved in the directory.
Otherwise, they will be stored in a temporary directory which will be removed
afterwards.
key_added
`.uns` key under which to add the peak information.
tempdir
Expand Down
5 changes: 4 additions & 1 deletion snapatac2-python/snapatac2/tools/_embedding.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def spectral(
`weighted_by_sd` is set to True, as long as it is large enough, e.g. 30.
features
Boolean index mask. True means that the feature is kept.
False means the feature is removed.
False means the feature is removed. If `features=None`, all features are used.
random_state
Seed of the random state generator
sample_size
Expand All @@ -184,6 +184,9 @@ def spectral(
Whether to weight the result eigenvectors by the square root of eigenvalues.
This parameter is turned on by default. When it is turned on, mannully selecting
the number of components is usually not necessary.
feature_weights
Feature weights used in the distance metric. If None, the inverse document
frequency (IDF) is used.
inplace
Whether to store the result in the anndata object.
Expand Down

0 comments on commit e11e051

Please sign in to comment.