get.genotyped.snp: Derive which markers are genotyped of selected individuals

Description Usage Arguments Value Examples

View source: R/get.genotyped.snp.R

Description

Function to devide which markers are genotyped for the selected individuals

Usage

1
2
3
4
5
6
7
8
get.genotyped.snp(
  population,
  database = NULL,
  gen = NULL,
  cohorts = NULL,
  export.alleles = FALSE,
  use.id = FALSE
)

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)

export.alleles

If TRUE export underlying alleles instead of just 012

use.id

Set to TRUE to use MoBPS ids instead of Sex_Nr_Gen based names (default: FALSE)

Value

Binary Coded is/isnot genotyped level for in gen/database/cohorts selected individuals

Examples

1
2
data(ex_pop)
genotyped.snps <- get.genotyped.snp(ex_pop, gen=2)

MoBPS documentation built on Nov. 9, 2021, 5:08 p.m.