RGLab / flowStats

flowStats: algorithms for flow cytometry data analysis using BioConductor tools
15 stars 10 forks source link

normQA error #30

Closed danxfreeman closed 4 years ago

danxfreeman commented 4 years ago

I get the following error message when I run normQA on my dataset:

Error in range(data[[1]])[, p][1, ] : incorrect number of dimensions

I can fix it by copying the function from GitHub and removing the commas from this line:

xvals <- seq(range(data[[1]])[, p][1], range(data[[1]])[, p][2], len=np)

jacobpwagner commented 4 years ago

Yeah, it looks like it might have not been factoring in the default drop=TRUE so it was indexing in to a one-column dataframe instead of the simplified vector. That should be fixed now.

danxfreeman commented 4 years ago

It works great now, thanks Jacob!