23320c8733b232b72606dbcc7f79a0d51d3fcc39,scanpy/preprocessing/_deprecated/highly_variable_genes.py,,filter_genes_cv_deprecated,#Any#Any#Any#,200
Before Change
if issparse(X):
raise ValueError("Not defined for sparse input. See `filter_genes_dispersion`.")
mean_filter = np.mean(X, axis=0) > Ecutoff
var_filter = np.std(X, axis=0) / (np.mean(X, axis=0) + .0001) > cvFilter
gene_subset = np.nonzero(np.all([mean_filter, var_filter], axis=0))[0]
return gene_subset
def filter_genes_fano_deprecated(X, Ecutoff, Vcutoff):
Filter genes by fano factor and mean.
After Change
def filter_genes_cv_deprecated(X, Ecutoff, cvFilter):
Filter genes by coefficient of variance and mean.
return _filter_genes(X, Ecutoff, cvFilter, np.std)
def filter_genes_fano_deprecated(X, Ecutoff, Vcutoff):
Filter genes by fano factor and mean.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: theislab/scanpy
Commit Name: 23320c8733b232b72606dbcc7f79a0d51d3fcc39
Time: 2019-08-20
Author: flying-sheep@web.de
File Name: scanpy/preprocessing/_deprecated/highly_variable_genes.py
Class Name:
Method Name: filter_genes_cv_deprecated
Project Name: pavlin-policar/openTSNE
Commit Name: 46379cefade313fee9fa99c8a6ebb62668918f82
Time: 2018-10-28
Author: pavlin.g.p@gmail.com
File Name: fastTSNE/tsne.py
Class Name: TSNE
Method Name: generate_initial_coordinates
Project Name: biolab/orange3
Commit Name: 7ee97170a0049847945b8cd94f6ea91538ec598e
Time: 2013-06-05
Author: jure.zbontar@gmail.com
File Name: Orange/classification/logistic_regression.py
Class Name: LogisticRegressionLearner
Method Name: fit