getModels | R Documentation |
When the parameter 'epmatrix' is set to TRUE, the object of class 'bnclustOmics' includes postrior probabilitis of all edges in the discovered graphs. This function can be used to derive a consensus graph representing discovered clusters according to a specified posterior probability threshold. Only edges with posteriors above the threshold will be included in the resulting consensus models.
getModels(bnres, p)
bnres |
object of class 'bnclustOmics' |
p |
posterior probability threshold |
a list of adjacency matrices corresponding to consensus graphs representing discovered clusters
Polina Suter
MAPmod<-dags(bnres3) CONSmod1<-getModels(bnres3,p=0.5) CONSmod2<-getModels(bnres3,p=0.9) library(BiDAG) compareDAGs(MAPmod[[1]],simdags[[1]]) compareDAGs(CONSmod1[[1]],simdags[[1]]) compareDAGs(CONSmod2[[1]],simdags[[1]])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.