scoreNeighbors: Calculate match score generic.

Description Usage Arguments Value

View source: R/scoreNeighbors.R

Description

scoreNeighbors returns a Scores object with the Neighbors slot populated with a match score for each potential duplicate found from the SNIP algorithm.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
scoreNeighbors(object, method = "intersection")

## Default S3 method:
scoreNeighbors(object, method = "intersection")

## S3 method for class 'Blocks'
scoreNeighbors(object, method = "intersection")

## S3 method for class 'Scores'
scoreNeighbors(object, method = "intersection")

Arguments

object

object containing pre-computed Neighbors from the SNIP algorithm.

method

Character value. If intersection, then uses the count of times the match was found. If "greedy", then uses the greedy match score.

Value

An object of class Scores containing the scored neighbor pairs.


bayesmendel/snipR documentation built on Jan. 25, 2022, 12:33 a.m.