1 2 3 4 5 6 7 8 9 10 11 12 13 14
| bnCov <- CBNplot::bnpathplot(pwayGSE, vsted, nCategory = 1000, adjpCutOff = 0.05, expSample=rownames(group), algo="hc", strType="normal", otherVar=group$group, otherVarName="Risk_Group", R=200, cl=parallel::makeCluster(4), returnNet=T, shadowText=T) igraph::is.dag(bnlearn::as.igraph(bnCov$av)) bnFit <- bnlearn::bn.fit(bnCov$av, bnCov$df) bnCov$plot
|