0c0cc3ac899ad88ea2804706f2adf106ccca3f71,scanpy/preprocessing/_highly_variable_genes.py,,_highly_variable_genes_seurat_v3,#Any#Any#Any#Any#Any#Any#Any#,19

Before Change


        estimat_var[not_const] = model.outputs.fitted_values
        reg_std = np.sqrt(10 ** estimat_var)

        batch_counts = X[batch_info == b].astype(np.float64).copy()
        // clip large values as in Seurat
        N = np.sum(batch_info == b)
        vmax = np.sqrt(N)

After Change


        ad = adata[batch_info == b]
        X = ad.layers[layer] if layer is not None else ad.X

        mean, var = _get_mean_var(X)
        not_const = var > 0
        estimat_var = np.zeros(adata.shape[1], dtype=np.float64)

        y = np.log10(var[not_const])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: theislab/scanpy
Commit Name: 0c0cc3ac899ad88ea2804706f2adf106ccca3f71
Time: 2020-07-29
Author: adamgayoso@users.noreply.github.com
File Name: scanpy/preprocessing/_highly_variable_genes.py
Class Name:
Method Name: _highly_variable_genes_seurat_v3


Project Name: theislab/scanpy
Commit Name: 7da447b4b42c4b214fc464deb3a3166a9bace7b2
Time: 2017-05-22
Author: f.alex.wolf@gmx.de
File Name: scanpy/preprocessing/simple.py
Class Name:
Method Name: filter_genes_dispersion


Project Name: theislab/scanpy
Commit Name: d1d70f4790700927e289a3702b17fbde8f1b8631
Time: 2020-04-14
Author: atarashansky@gmail.com
File Name: scanpy/preprocessing/_utils.py
Class Name:
Method Name: _pca_with_sparse