get_snps_set: 'get_snps_set'

View source: R/utility.R

get_snps_setR Documentation

get_snps_set

Description

get_snps_set extract the SNP sets from the output of 'find_optimised_snps'.

Usage

get_snps_set(results, as = "data.frame")

Arguments

results

output from 'find_optimised_snps'

as

output format, either 'data.frame' or 'list'.

Value

will return either 1. a dataframe containing SNPs_set (SNP position separated by ",") and score 2. a list containing SNPs_set (SNP position as numeric vector) and score (attr of the list)


ludwigHoon/minSNPs documentation built on March 25, 2024, 11:54 a.m.