Wei-BioMath / NeuronChat

GNU General Public License v3.0
29 stars 3 forks source link

Error in seq.default(2, nPatterns * 2, by = 2) while running netAnalysis_river_Neuron #8

Open ektapathak08 opened 1 year ago

ektapathak08 commented 1 year ago

Dear NeuronChat Team,

Thanks for this wonderful for studying communication between neurons.

I am facing the following error when running netAnalysis_river_Neuron for the "incoming" pattern saying Error in seq.default(2, nPatterns * 2, by = 2)

I am running follwing code:-

library(ggalluvial) netAnalysis_river_Neuron(nco, slot.name = "net", pattern = c("incoming"), font.size = 2.5, cutoff.1 = 0.5, cutoff.2=0.5, main.title="Incoming Signals in HSal")

Error in seq.default(2, nPatterns * 2, by = 2) : wrong sign in 'by' argument

However, when running the same code for the "outgoing" pattern, it's working.

Best Ekta