Question: Error in intI when plotting igraph graph.
1
gravatar for sakan1000
3.7 years ago by
sakan100010
sakan100010 wrote:

Input data: adjacency matrix, tab-separated '1' and '0' characters in file "matrix.tsv"

matrix = as.matrix(read.table("matrix.tsv"))
my_graph3 = graph_from_adjacency_matrix(matrix)
plot.modules(my_graph3)

Result:

Error in intI(j, n = d[2], dn[[2]], give.dn = FALSE) :
  index larger than maximal 34

sessionInfo() output:

R version 3.2.2 (2015-08-14)
Platform: x86_64-redhat-linux-gnu (64-bit)
Running under: Fedora 21 (Twenty One)

locale:
 [1] LC_CTYPE=en_US.UTF-8      LC_NUMERIC=C              LC_TIME=en_GB.utf8       
 [4] LC_COLLATE=en_US.UTF-8    LC_MONETARY=en_GB.utf8    LC_MESSAGES=en_US.UTF-8  
 [7] LC_PAPER=en_GB.utf8       LC_NAME=C                 LC_ADDRESS=C             
[10] LC_TELEPHONE=C            LC_MEASUREMENT=en_GB.utf8 LC_IDENTIFICATION=C      

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] netbiov_1.4.0 igraph_1.0.1 

loaded via a namespace (and not attached):
 [1] colorspace_1.2-6 scales_0.3.0     Matrix_1.2-3     magrittr_1.5     plyr_1.8.3      
 [6] tools_3.2.2      gtable_0.1.2     Rcpp_0.12.3      ggplot2_2.0.0    grid_3.2.2      
[11] munsell_0.4.3    lattice_0.20-33 

 

bug netbiov • 695 views
ADD COMMENTlink written 3.7 years ago by sakan100010

Is there solution for this thread? I have encountered exactly the same problem.

ADD REPLYlink written 2.7 years ago by Pengcheng Yang50
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 123 users visited in the last hour