Merge territories using specified labels
Details
Territory data frame generally contain a lot of information depending on how much analysis the user has run. (Segments, Cells, territories, morphology). Using pariwise matching of labels parse in labels_mapped and labels_reference the data will be merged into a single column. A new column will be added to distinguish samples. All other columns that are not present in the labels argument will retain their name and NA will be added to cell present in the other data set (similar to left and right joins).