finddups: This function finds duplicate markers in the main marker data...

Description Usage Arguments Value

View source: R/finddups.R

Description

Only exact duplicates are identified, meaning that the markers must have the same value in each location, and also must be missing data in the same locations. To remove the duplicate markers, see the removedups function.

Usage

1
finddups(markerdata, threshold, filename)

Arguments

markerdata

- main marker data file, produced by the readfile.R/readFile function

threshold

(OPTIONAL) - similarity threshold to use to identify how similar two markers must be in order to be considered "identical". If this is omitted, the default behavior is to find only markers which are exact duplicates, including that they must be missing data in the same spots. Any other value omits any spot where data are missing (from either marker), so threshold = 100 will find markers that have the same calls in every spot where both markers contain data, threadhol = 99 will find markers that are 99percent similar in every spot where both markers contain data, etc.

filename

(OPTIONAL) - path and output filename as a string, if the user wishes to save the list of duplicate markers to a file

Value

list of duplicate markers


mckaylab/TSPmap documentation built on Aug. 19, 2021, 8:38 p.m.