Learn R Programming

MoBPS (version 1.13.1)

get.effect.freq: Compute marker frequency in QTL-markers

Description

Function to compute marker frequency in QTL-markers

Usage

get.effect.freq(
  population,
  database = NULL,
  gen = NULL,
  cohorts = NULL,
  id = NULL,
  sort = FALSE
)

Value

Matrix with allele frequencies in the QTLs

Arguments

population

Population list

database

Groups of individuals to consider for the export

gen

Quick-insert for database (vector of all generations to export)

cohorts

Quick-insert for database (vector of names of cohorts to export)

id

Individual IDs to search/collect in the database

sort

Set to FALSE to not sort markers according to position on the genome

Examples

Run this code
data(ex_pop)
get.effect.freq(ex_pop, gen=1)

Run the code above in your browser using DataLab