View source: R/obozinski.methods.R
obozinski.methods | R Documentation |
Compute the Obozinski's heuristic methods Max
, And
, Or
(Obozinski et al., Genome Biology, 2008).
obozinski.methods(S, g, heuristic = "and", norm = FALSE, norm.type = NULL)
S |
a named flat score matrix with examples on rows and classes on columns. |
g |
a graph of class |
heuristic |
a string character. It can be one of the following three values:
|
norm |
a boolean value. Should the flat score matrix be normalized? By default |
norm.type |
a string character. It can be one of the following values:
|
A matrix with the scores of the classes corrected according to the chosen heuristic algorithm.
data(graph);
data(scores);
S.and <- obozinski.methods(S, g, heuristic="and", norm=TRUE, norm.type="maxnorm");
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.