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

Hi,

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)

cheers,

Sergi

ADD COMMENTlink modified 2.0 years ago by zoppoli pietro10 • written 2.0 years ago by sergisayolspuig40
0
gravatar for zoppoli pietro
2.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,

Pietro

ADD COMMENTlink written 2.0 years ago by zoppoli pietro10
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 2.2.0
Traffic: 334 users visited in the last hour