getgenotype_person: return the genotypes for all markers of a given person

Description Usage Arguments Value Examples

View source: R/mega2rcreate.R

Description

for selected person, expand genotype bit vector to an integer vector with one integer per marker. Then convert the integer vector to genotypes.

Usage

1
getgenotype_person(perid = 1, envir = ENV)

Arguments

perid

person/sample identifier

envir

an environment that contains all the data frames created from the SQLite database.

Value

None

Examples

1
2
3
4
5
6
7
8
## Not run: 
# genotypes for all markers for n'th person in genotype table
getgenotype_person(1)

# genotypes for all markers for range of persons in genotype table
getgenotype_person(m:n)

## End(Not run)

Mega2R documentation built on Dec. 11, 2021, 9:12 a.m.