Hello,
I am new to this package and R language in general and I have been trying to use MSStat package for SRM data in R. I exported the results from Skyline in a csv format, added the "Condition", "BioReplicate", "Run" columns manually in Excel, which are 1 for all of the rows. However, when I try to use the function "dataprocess" with this code "dataProcess(unique_data, normalization = 'equalizeMedians')",
I get this error: 8%<simpleError in `contrasts<-`(`*tmp*`, value = contr.funs[1 + isOF[nn]]): contrasts can be applied only to factors with 2 or more levels>
INFO [2024-07-29 15:06:53] == Summarization is done.
Elements listed in `by` must be valid column names in x and y
Input data.table 'y' has no columns.
I also checked the above code again with the data that I have recevied with unique() function, but still the same error proceeds.
Lastly, when I try to use the "SkylinetoMSStat" function before I run the dataprocess code , I get this error : Can't assign 4 names to a 0-column data.table
My R version is 4.4.1 (2024-06-14 ucrt), Platform: x86_64-w64-mingw32/x64
Running under: Windows 11 x64 (build 22631)
Matrix products: default and MSstats_4.12.0
Thank you very much in advance.