| |
- cmonkey.scoring.ScoringFunctionBase
-
- ScoringFunction
- CutoffEnrichmentSet
- DiscreteEnrichmentSet
- SetType
class ScoringFunction(cmonkey.scoring.ScoringFunctionBase) |
|
Set enrichment scoring function |
|
Methods defined here:
- __init__(self, organism, membership, ratios, config_params=None)
- Create scoring function instance
- bonferroni_cutoff(self)
- Bonferroni cutoff value
- do_compute(self, iteration_result, ref_matrix)
- compute method
Note: will return None if not computed yet and the result of a previous
scoring if the function is not supposed to actually run in this iteration
- run_logs(self)
- return the run logs
Methods inherited from cmonkey.scoring.ScoringFunctionBase:
- check_requirements(self)
- Give the scoring module an opportunity to check whether the
requirements to run are all met
- compute(self, iteration_result, reference_matrix=None)
- general compute method,
iteration_result is a dictionary that contains the
results generated by the scoring functions in the
current computation.
the reference_matrix is actually a hack that allows the scoring
function to normalize its scores to the range of a reference
score matrix. In the normal case, those would be the gene expression
row scores
- compute_force(self, iteration_result, reference_matrix=None)
- enforce computation, regardless of the iteration function
- gene_names(self)
- returns the gene names
- last_cached(self)
- num_clusters(self)
- returns the number of clusters
- pickle_path(self)
- returns the function-specific pickle-path
- rows_for_cluster(self, cluster)
- returns the rows for the specified cluster
- run_in_iteration(self, i)
- scaling(self, iteration)
- returns the quantile normalization scaling for the specified iteration
- set_score_means(self, iteration_result, matrix)
|
class SetType |
|
Set type representation. This is just a grouping from name to a number of sets
and providing access to all contained genes |
|
Methods defined here:
- __init__(self, name, sets)
- instance creation
- __repr__(self)
- string representation
- genes(self)
- All genes contained in the sets
| |