Question: TDARACNE:::ToTheGraph_timeShiftmax2 doesn't support more than 1000 edges
gravatar for sergisayolspuig
3.0 years ago by
sergisayolspuig40 wrote:


the function ToTheGraph_timeShiftmax2 to get a DOT graph has the maximum number of edges hardcoded:

R> TDARACNE:::ToTheGraph_timeShiftmax2
function (network, name)
    row <- dim(network)[1]
    col <- dim(network)[2]
    title2 <- name
    graph <- array(0, dim = c(1000, 4))
    w <- 1



is there any reason for this limitation, or should actually be automatically calculated from the number of edges of the network? (or at least do a check before hand whether the network is too big to be exported, and prevent the code from stopping with a nasty error)



ADD COMMENTlink modified 3.0 years ago by zoppoli pietro10 • written 3.0 years ago by sergisayolspuig40
gravatar for zoppoli pietro
3.0 years ago by
United States
zoppoli pietro10 wrote:

Hi Sergi,

the reason the maximum number of edges hardcoded to 1000 is that the algorithm is supposed to work with small-medium networks.

1000 edge is far above the limits I suggest to use the algorithm, I didn't want people use it so far away from it's limits.

Probably I should have used a check there, but again, a network so big is above the aim of the algorithm.

Sorry for problem,


ADD COMMENTlink written 3.0 years ago by zoppoli pietro10
Please log in to add an answer.


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