mt_import_long issues reading column names
I'm having issues with the mt_import_long function. It produces an error message when I try to import a csv file created by matlab.
"Warning message: In mt_import_long(data, xpos_label = "XPos", ypos_label = "YPos", : After removing trajectory data, more than one unique row per mt_id remains."
I believe the issue is related to reading my column names for the mt_seq_label. When I open the csv file in excel, delete the column name, manually retype it, and rerun the r script, it works. I have no clue why this happens or why it works after I open and retype the column name in excel. I've tried renaming columns in R before using the mt_import_long function and it still produces the error message. The function only works after I open the data files in excel and retype the column name.