Hi,
I have imported two seperate hdr files and would like to combine them to do PCA on 2 samples however keep getting an error for the following code:
mse_binned <- mzBin(mse, from=300, to=700,resolution = NA, units ="mz", fun=sum)
process(mse_binned)
mse2_binned <- mzBin(mse2, from=300, to=700, resolution = NA, units ="mz", fun=sum)
process(mse2_binned)
cbind(mse_binned,mse2_binned)
The error is as follows:
Error in cbind(...) : 'mz' must match
I have matched mz so I'm confused as to why it is not working. Also, is there any way I can conduct PCA on 2 samples at the same time using the PCA() function?
Thanks,
Bailey