- changed status to resolved
Function network
Plusieurs bugs on ete signales: 1. interactive = TRUE sous windows 2. http://www.inside-r.org/questions/r-and-cytoscape 3. ta proposition de code ne marche pas chez moi (test sous RGui et RStudio) data(nutrimouse)
X <- nutrimouse$lipid Y <- nutrimouse$gene nutri.res <- rcc(X, Y, ncomp = 3, lambda1 = 0.064, lambda2 = 0.008)
X11() gR <- network(nutri.res, comp = 1:3, threshold = 0.6)$gR
modifying the attributes of the graph
V(gR)$label.cex <- 0.9 Error in V(gR)$label.cex <- 0.9 : could not find function "V" V(gR)$size <- 1.8 * V(gR)$size Error: could not find function "V" V(gR)$size2 <- 6 Error in V(gR)$size2 <- 6 : could not find function "V"
sessionInfo() R version 3.1.0 (2014-04-10) Platform: x86_64-apple-darwin10.8.0 (64-bit)
locale: [1] en_AU.UTF-8/en_AU.UTF-8/en_AU.UTF-8/C/en_AU.UTF-8/en_AU.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods
[7] base
other attached packages: [1] mixOmics_5.0-1 lattice_0.20-29 MASS_7.3-33
loaded via a namespace (and not attached):
[1] grid_3.1.0 igraph_0.7.1 pheatmap_0.7.7
[4] RColorBrewer_1.0-5 RGCCA_2.0 rgl_0.93.996
[7] tools_3.1.0
Peut etre lie a un bug signale par Amrit, je te tiens au courant.
Comments (1)
-
reporter - Log in to comment