eMetaboHUB / MS-CleanR

25 stars 8 forks source link

Error: replacement has 1 row, data has 0 #7

Closed tbento2015 closed 3 years ago

tbento2015 commented 3 years ago

Hello, I am having a problem using the MScleanR generic filtration step from MS-DIAL export files because I continue to get the following Warning: Error in $<-.data.frame: replacement has 1 row, data has 0 [No stack trace available].

I ensured that groups were appropriately assigned during MS-DIAL analysis and that the alignment export reflects this.

Thanks in advance for your help!

guikool commented 3 years ago

Hi this error arise when there is no MS/MS data available, since MS-CleanR is for all ion fragmentation method. Did you acquire the data in DIA or DDA mode?

tbento2015 commented 3 years ago

Hi, yes, my data is in DDA mode.

guikool commented 3 years ago

did you check the sample order (must be exactly the same) as for sample number and groups between pos and neg

guikool commented 3 years ago

otherwise, send me your output files from MSDIAL so I'll check your data (guillaume.marti@univ-tlse3.fr)

tbento2015 commented 3 years ago

Hi, I just sent it to you. Please let me know if you need anything else.

guikool commented 3 years ago

Indeed QC should represent a mixture of all your sample try to name three Ctrl as QC and keep three other as Ctrl and name them accordingly in the class column.

Also change the name of your sample by adding a letter before the number and remove the « _ » at the end.

If it doesn’t work, I don’t figure out what’s happening with your data. Best, G.