listMatches: List the matches of each SNP.

Description Usage Arguments Value Examples

View source: R/listMatches.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.

Usage

1
listMatches(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 ordered by chromosome and position.

Examples

1
SNP <- listMatches(matched_snps)

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