5507dc3fa93540890d8b953db00de4dcdcbe6bdd,scanpy/tools/_rank_genes_groups.py,_RankGenes,t_test,#_RankGenes#Any#,172

Before Change



            ns_group = np.count_nonzero(mask)
            if method == "t-test":
                ns_rest = np.count_nonzero(mask_rest)
            elif method == "t-test_overestim_var":
                // hack for overestimating the variance for small groups
                ns_rest = ns_group
            else:

After Change


            if self.ireference is not None:
                mean_rest = self.means[self.ireference]
                var_rest = self.vars[self.ireference]
                ns_other = np.count_nonzero(self.groups_masks[self.ireference])
            else:
                mean_rest = self.means_rest[group_index]
                var_rest = self.vars_rest[group_index]
                ns_other = self.X.shape[0] - ns_group
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: theislab/scanpy
Commit Name: 5507dc3fa93540890d8b953db00de4dcdcbe6bdd
Time: 2020-06-16
Author: koncopd@gmail.com
File Name: scanpy/tools/_rank_genes_groups.py
Class Name: _RankGenes
Method Name: t_test


Project Name: biotite-dev/biotite
Commit Name: f456a0bfe0aec1017601caf34e10cf7414f00ada
Time: 2020-11-26
Author: anter.jacob@gmail.com
File Name: src/biotite/structure/charges.py
Class Name:
Method Name: partial_charges


Project Name: reinforceio/tensorforce
Commit Name: af2bcf3e70928d379feaf46cdae1aeba71d0e424
Time: 2017-11-26
Author: aok25@cl.cam.ac.uk
File Name: tensorforce/models/model.py
Class Name: Model
Method Name: create_output_operations