mar-esther23 / boolnet-perturb

Robustness and Plasticity in Regulatory Networks. The BoolNetPerturb package adds functions to BoolNet for perturbing Boolean Regulatory Networks. This functions can be used for the study of biological systems. This package is capable of labeling states, simulating multiple knock-outs and over-expressions and simulating fixed and transient perturbations in the states and trajectory of a network. See the Jupyter Tutorials for more examples.
MIT License
4 stars 2 forks source link

attractors to dataframe fails when networks > 32 nodes #6

Open ArturoArciniega opened 3 months ago

ArturoArciniega commented 3 months ago

When attempting to transform the attractors into a dataframe for a network containing more than 32 nodes, the attractorsTodataframe function does not take into account binary representations exceeding 31 bits due to a limitation in R, which only allows bit operations up to 31 bits. As a result, it is not possible to completely represent the attractors in a dataframe due to the presence of missing data.

mar-esther23 commented 3 months ago

Yep. The problem is in the export to dataframe function and is related with how boolnet perturb represents large networks. Sincerly, I don't know if I'll fix it, but if someone has the time I can incorporate the code and solve.