R/checkTrack.R
checkTrack.Rd
Check order of Track_df Function checks if spots source and spots target in Track_df are inverted compared to frame and invert if necessary so that source always corresponds to the smaller frame and target to the biggest one.
checkTrack(Tracks_df, Spots_df)
Tracks_df | a dataframe created with Tracks.as.dataframe() |
---|---|
Spots_df | a dataframe created with Spots.as.dataframe() |
a dataframe with reordered source and targets