plotIndiv Removed 4 rows containing missing values or values outside the scale range (`geom_point()`)

I have run a pca and am plotting the results.

I get the following error message from plotIndiv

Removed 4 rows containing missing values or values outside the scale range (geom_point())

I confirmed that there are four samples that have an x axis value slightly above the scale range of the x axis.

Screenshot 2024-04-15 at 7.08.23 PM

Is there a way to modify the scale of the x-axis to make sure I can plot all the samples

hi @jlabus

This is an issue related to ggplot2.
You could use instead in plotIndiv the argument style = ‘graphics’ or ‘lattice’. You could also extract the components from the PCA result (called $variates) and plot it yourself using ggplot2.

Kim-Anh

Thank you so much!!!