Learn R Programming

MoBPS (version 1.13.1)

add.array: Add a genotyping array

Description

Function to add a genotyping array for the population

Usage

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

Value

Population list

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

Examples

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

Run the code above in your browser using DataLab