Skip to content

Commit

Permalink
fix a misleading annotation for scCRISPRseq
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheng, Caibin committed Feb 19, 2022
1 parent ee507ea commit 547a7b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scAR/_scAR.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def inference(self, batch_size=None, model='poisson', adjust='micro', feature_ty
Feature types (string), e.g., 'sgRNAs', 'CMOs', 'Tags', and etc..
cutoff
Cutoff for Bayesfactors. Default: 3. See https://doi.org/10.1007/s42113-019-00070-x.
MOI
MOI(Under development)
Multiplicity of Infection. If assigned, it will allow optimized thresholding, which tests a series of cutoffs to find the best one based on distributions of infections under given MOI. See http://dx.doi.org/10.1016/j.cell.2016.11.038. Under development.
Return
Expand Down Expand Up @@ -391,7 +391,7 @@ def assignment(self, feature_type='sgRNAs', cutoff=3, MOI=None):
feature_assignment.loc[cell, f'n_{feature_type}'] = 1
feature_assignment.loc[cell, feature_type] = bayesfactor_max.index[0]
else:
feature_assignment.loc[cell, f'n_{feature_type}'] = 2
feature_assignment.loc[cell, f'n_{feature_type}'] = len(bayesfactor_max)
feature_assignment.loc[cell, feature_type] = (', ').join(bayesfactor_max.index)

self.feature_assignment = feature_assignment
Expand Down

0 comments on commit 547a7b6

Please sign in to comment.