sapply -> vapply; error in iplotPXG if phe not numeric