listMatches2: List the matches of each SNP.

Description Usage Arguments Value Examples

View source: R/listMatches2.R

Description

This function reads the output from "SNPmatch" and outputs the same information as a list, where each object is a new input SNP which has inside a vector with all its matches. It is the same as "listMatches" but without ordering the variants (this saves computation time).

Usage

1
listMatches2(matched_snps)

Arguments

matched_snps

Data frame with columns "input_snp" and "matched_snp".

Value

List with all the SNPs and a vector of its matches.

Examples

1
SNP <- listMatches2(matched_snps)

ldehoyos/twinSNP documentation built on June 22, 2021, 4:10 p.m.