removeDups: Given a data set with all pairwise comparisons including A-B...

Description Usage Arguments Value

View source: R/additions.R

Description

Given a data set with all pairwise comparisons including A-B and B-A comparisons, take the larger of the similarity score

Usage

1
removeDups(allResults, similarityCol)

Arguments

allResults

needs to have columns 'compare', 'newImage', and a column with similarity scores (see next parameter)

similarityCol

name of column with similarity scores, e.g. '"corr"'

Value

a data frame with one row per comparison, adding a column for the B-A match and a column 'corrMax'


xhtai/cartridges3D documentation built on March 1, 2020, 8:57 p.m.