supporting function for runPreprocess
, fastReseg_full_pipeline
and fastReseg_flag_all_errors
, to load a single field-of-view (FOV) transcript data file into a data frame from file path.
Details
This function automatically detects the file format based on its extension and supports common tabular and binary formats, including
.csv
,.txt
,.tsv
: tabular text files (comma- or tab-delimited).csv.gz
,.txt.gz
,.tsv.gz
: gzip-compressed tabular files.RData
: R workspace files containing a single data frame object.rds
: serialized R object files