Skip to content

Commit

Permalink
remove all p values
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgayoso committed Dec 21, 2020
1 parent f792da0 commit 516d90d
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions doubletdetection/doubletdetection.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,8 @@ class BoostClassifier:
Attributes:
all_log_p_values_ (ndarray): Hypergeometric test natural log p-value per
cell for cluster enrichment of synthetic doublets. Shape (n_iters,
num_cells).
all_p_values_ (ndarray): DEPRECATED. Exponentiated all_log_p_values.
Due to rounding point errors, use of all_log_p_values recommended.
Will be removed in v3.0.
cell for cluster enrichment of synthetic doublets. Use for tresholding.
Shape (n_iters, num_cells).
all_scores_ (ndarray): The fraction of a cell's cluster that is
synthetic doublets. Shape (n_iters, num_cells).
communities_ (ndarray): Cluster ID for corresponding cell. Shape
Expand Down Expand Up @@ -149,7 +146,7 @@ def fit(self, raw_counts):
raw_counts (array-like): Count matrix, oriented cells by genes.
Sets:
all_scores_, all_p_values_, all_log_p_values_, communities_,
all_scores_, all_log_p_values_, communities_,
top_var_genes, parents, synth_communities
Returns:
Expand Down Expand Up @@ -220,7 +217,6 @@ def fit(self, raw_counts):
self.communities_ = all_communities
self.parents_ = all_parents
self.synth_communities_ = all_synth_communities
self.all_p_values_ = np.exp(self.all_log_p_values_)

return self

Expand Down

0 comments on commit 516d90d

Please sign in to comment.