| varianceOnto | R Documentation | 
varianceOnto estimates the variance of gaussian distributions modeling the additive learning noise that corrupts ideal Ontology-term predictions.
varianceOnto(tableOntoTerms, dxCharacterized, kFold, graphOnto, rootNode,
            kernelSVM = "radial")
tableOntoTerms | 
 A binary matrix with ‘n’ protein coding genes (rows) by ‘m’ cross-Ontology node labels (columns).  | 
dxCharacterized | 
 A data frame with ‘n’ protein coding genes (rows) by ‘f’ features (columns).  | 
kFold | 
 An integer for the number of folds.  | 
graphOnto | 
 A graphNEL graph with ‘m’ cross-Ontology node labels.  | 
rootNode | 
 A character indicating the root of the graph.  | 
kernelSVM | 
 The kernel used to calculate the variance (default: radial).  | 
Under the assumption of symmetrical (Gaussian) conditional probability distributions for observable variable node predictions y_i over a hidden variable node annotations x_i, variances \eta_i can be estimated using a validation dataset of positively annotated samples. 
A vector named with the variance of each cross-Ontology node.
Flavio E. Spetale <spetale@cifasis-conicet.gov.ar>
Spetale FE, Tapia E, Krsticevic F, Roda F, Bulacio P (2016). A Factor Graph Approach to Automated GO Annotation. PLOS ONE 11(1): e0146986
data(CfData)
mygraphGO <- as(CfData[["graphCfGO"]], "graphNEL")
rootGO <- leaves(mygraphGO, "in")
mygraphGO <- subGraph(c("GO:0140110", "GO:0098772", "GO:0003674"), mygraphGO)
myTableGO <- CfData[["tableCfGO"]][
                    CfData[["indexGO"]]$indexTrain,
                    c("GO:0140110", "GO:0098772", "GO:0003674")]
varianceGOs <- varianceOnto(tableOntoTerms = myTableGO,
                            dxCharacterized = CfData[["dxCf"]],
                            kFold = 2, graphOnto = mygraphGO,
                            rootNode = rootGO, kernelSVM = "radial")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.