b3505e7e9e08a389dfff5788db2b6634abdeb1cd,scanpy/preprocessing/_deprecated/highly_variable_genes.py,,filter_genes_dispersion,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,11

Before Change


        else:
            adata.var["highly_variable"] = result["gene_subset"]
        return adata if copy else None
    logg.debug("extracting highly variable genes", r=True)
    X = data  // no copy necessary, X remains unchanged in the following
    mean, var = materialize_as_ndarray(_get_mean_var(X))
    // now actually compute the dispersion
    mean[mean == 0] = 1e-12  // set entries equal to zero to small value

After Change


        else:
            adata.var["highly_variable"] = result["gene_subset"]
        return adata if copy else None
    start = logg.info("extracting highly variable genes")
    X = data  // no copy necessary, X remains unchanged in the following
    mean, var = materialize_as_ndarray(_get_mean_var(X))
    // now actually compute the dispersion
    mean[mean == 0] = 1e-12  // set entries equal to zero to small value
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: theislab/scanpy
Commit Name: b3505e7e9e08a389dfff5788db2b6634abdeb1cd
Time: 2019-06-05
Author: flying-sheep@web.de
File Name: scanpy/preprocessing/_deprecated/highly_variable_genes.py
Class Name:
Method Name: filter_genes_dispersion


Project Name: theislab/scanpy
Commit Name: b3505e7e9e08a389dfff5788db2b6634abdeb1cd
Time: 2019-06-05
Author: flying-sheep@web.de
File Name: scanpy/preprocessing/_highly_variable_genes.py
Class Name:
Method Name: highly_variable_genes


Project Name: theislab/scanpy
Commit Name: b3505e7e9e08a389dfff5788db2b6634abdeb1cd
Time: 2019-06-05
Author: flying-sheep@web.de
File Name: scanpy/preprocessing/_normalization.py
Class Name:
Method Name: normalize_total