geno {BGData}R Documentation

Getting/Setting Genotypes, Sample Information, and Variant Information

Description

A set of generic functions for getting/setting the genotypes, sample information, and variant information.

Usage

geno(x)
geno(x) <- value

pheno(x)
pheno(x) <- value

map(x)
map(x) <- value

Arguments

x

The object from/on which to get/set genotypes, sample information, and variant information. Typically a BGData object.

value

Typically a geno object for the geno setter.

Typically a data.frame object for the pheno setter.

Typically a data.frame object for the map setter.

See Also

Examples

# Load example data
bg <- BGData:::loadExample()

# Access genotypes
geno(bg)

# Access sample information
pheno(bg)

# Access variant information
map(bg)

[Package BGData version 2.4.1 Index]