Automatically flip row to NA in PCA score if input contains NA