I've encountered an issue with my samples that were run in different batches. I've been following the instructions provided on this website: https://bioconductor.org/packages/devel/bioc/vignettes/pmp/inst/doc/pmp_vignette_sbc_spectral_quality_assessment.html. However, I've run into a challenge because I don't have a QC sample. I attempted to use samples from batch 1 as a QC substitute, but during the for-loop step to store RSD, I noticed that the values in the matrix for some columns are all NA.
RSD_QC (batch 1)
RSD_sample
What would you recommend I do in this situation? Alternatively, if I don't have a QC sample, is there another approach to do batch correction?
I've encountered an issue with my samples that were run in different batches. I've been following the instructions provided on this website: https://bioconductor.org/packages/devel/bioc/vignettes/pmp/inst/doc/pmp_vignette_sbc_spectral_quality_assessment.html. However, I've run into a challenge because I don't have a QC sample. I attempted to use samples from batch 1 as a QC substitute, but during the for-loop step to store RSD, I noticed that the values in the matrix for some columns are all NA.
RSD_QC (batch 1)![RSD_qc(batch1)](https://github.com/sneumann/xcms/assets/149721996/9105682c-b492-48da-8949-bd5907ca68d2)
RSD_sample![RSD_sample](https://github.com/sneumann/xcms/assets/149721996/eb734521-22d1-41d1-bf88-4f22b010f741)
What would you recommend I do in this situation? Alternatively, if I don't have a QC sample, is there another approach to do batch correction?
Your guidance would be greatly appreciated.