add.array {MoBPS}R Documentation

Add a genotyping array

Description

Function to add a genotyping array for the population

Usage

add.array(population, marker.included = TRUE, array.name = NULL)

Arguments

population

population list

marker.included

Vector with number of SNP entries coding if each marker is on the array (TRUE/FALSE)

array.name

Name of the added array

Value

Population list

Examples

data(ex_pop)
population <- add.array(ex_pop, marker.included = c(TRUE, FALSE), array.name="Half-density")

[Package MoBPS version 1.6.64 Index]