Learn R Programming

MoBPS (version 1.13.1)

get.qtl.variance: QTL effect variance extraction

Description

Function to extract QTL effect variance for single SNP QTLs in a given gen/database/cohort

Usage

get.qtl.variance(
  population,
  gen = NULL,
  database = NULL,
  cohorts = NULL,
  id = NULL
)

Value

matrix with SNP / Chr / estimated effect variance

Arguments

population

Population list

gen

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

database

Groups of individuals to consider

cohorts

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

id

Individual IDs to search/collect in the database

Examples

Run this code
data(ex_pop)
effects <- get.qtl.variance(ex_pop)

Run the code above in your browser using DataLab