posterior_prediction | R Documentation |
y
given x
conditional on association and given data.Predicted probability of y
given x
conditional on association and given data.
posterior_prediction(
ontology,
x,
y,
sim_reg_out,
x_new = x,
information_content = get_term_info_content(ontology, x),
sim_params = list(ontology = ontology, information_content = information_content),
two_way = TRUE,
prediction_fn = NULL,
min_ratio = 0.001,
...
)
ontology |
|
x |
|
y |
|
sim_reg_out |
Object of class |
x_new |
New |
information_content |
Numeric vector of information contents of terms named by term ID. Defaults to information content based on frequencies of annotation in |
sim_params |
List of arguments to pass to |
two_way |
Boolean value determining whether to calculate semantic similarity ‘in both directions’ (i.e. compute |
prediction_fn |
Function for computing predicted probabilities for |
min_ratio |
Threshold for fraction of posterior probability which sampled phi must hold in order to be included in sum. |
... |
Additional arguments to pass to |
Vector of predicted probabilities corresponding to term sets in x_new
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.