Hello,
I am working with the qPCR dataset. The dataset had few undetected or undetermined values with NA. I am using the dataset in PCAtools library and come across the below error. It seems this is because of the of the NA values. How can I overcome this error? Is there an option in the PCAtools itself to ignore these NA values or does a library like missMDA should be used to handle missing values and then apply PCAtools? Any inputs will be helpful.
library(PCAtools)
p <- pca(Raw_Ct_values, metadata = Sample_Grouping_B12345_v1, removeVar = 0.1)
Error in svd(x, nu = nu, nv = nv) : infinite or missing values in 'x'
Thank you
Best Regards,
Toufiq
Hello Kevin Blighe
Thank you for the prompt response. This is indeed a good package with nice plots. I replaced those NA with the empty cells in the excel file and used the data in
PCAtools. However, I after importing in R, I still see NA values. Please let me know how to ignore while using inPCAtools.Hi, this is not an issue for PCAtools to manage. You, as the analyst, need to implement a strategy of one of:
Hello Kevin Blighe
Thank you for the assistance. I will impute the values.