Learn R Programming

MoBPS (version 1.6.64)

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)

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

Run this code
# NOT RUN {
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