19 data1<-read.csv2(file.data1, header = FALSE)
21 if (classif.mode == 0) {
22 data2<-read.csv2(file.data2, header = FALSE)
26 if (classif.mode == 0) {
33 listuce1<-read.csv2(file.listuce1)
35 if (classif.mode == 0) {
36 listuce2<-read.csv2(file.listuce2)
41 if (classif.mode == 0) rm(data2)
43 chd.result <- Rchdtxt(file.uce,mincl=mincl,classif_mode=classif.mode)
45 classeuce1 <- chd.result$cuce1
46 classeuce2 <- chd.result$cuce2
48 tree.tot1 <- make_tree_tot(chd1)
49 open_file_graph(graph.arbre1, widt = 600, height=400)
50 plot(tree.tot1$tree.cl)
53 if (classif.mode == 0) {
54 tree.tot2 <- make_tree_tot(chd2)
55 open_file_graph(graph.arbre2, width = 600, height=400)
56 plot(tree.tot2$tree.cl)
59 tree.cut1 <- make_dendro_cut_tuple(tree.tot1$dendro_tuple, chd.result$coord_ok, classeuce1, 1)
61 open_file_graph(graph.dendro1, width = 600, height=400)
62 plot.dendropr(tree.cut1$tree.cl,classes)
65 if (classif.mode == 0) {
66 tree.cut2 <- make_dendro_cut_tuple(tree.tot2$dendro_tuple, chd.result$coord_ok, classeuce2, 2)
67 open_file_graph(graph.dendro2, width = 600, height=400)
68 plot(tree.cut2$tree.cl)
71 save.image(file=data.out)
74 (RscriptPath['CHD'], RscriptPath['chdtxt'], RscriptPath['anacor'], RscriptPath['Rgraph'])
76 """ % DicoPath['TableUc1']
78 """ % DicoPath['TableUc2']
79 """ % DicoPath['listeuce1']
81 """ % DicoPath['listeuce2']
82 """ % (DicoPath['uce'], mincl, classif_mode)
83 """%DicoPath['arbre1']
84 """ %DicoPath['arbre2']
85 """ % DicoPath['dendro1']
86 """ % DicoPath['dendro2']