When using a model where all sample identifiers are numbers and running plotFactorBeeswarm(Model, factor = 1) leaving "color_by" and "shape_by" undefined, the command will fail with
Error in seq.default(h[1], h[2], length.out = n) : 'to' must be a finite number
I believe in "plotFactors.R" at line 161 Z$sample is a vector of integers if all sample ids are numeric and therefore fills Z$color_by with NA values instead. I suspect that the same will happen with shape_by at line 191.
When using a model where all sample identifiers are numbers and running
plotFactorBeeswarm(Model, factor = 1)
leaving "color_by" and "shape_by" undefined, the command will fail withError in seq.default(h[1], h[2], length.out = n) : 'to' must be a finite number
I believe in "plotFactors.R" at line 161
Z$sample
is a vector of integers if all sample ids are numeric and therefore fillsZ$color_by
with NA values instead. I suspect that the same will happen with shape_by at line 191.