Learn R Programming

BGData (version 2.4.1)

geno: 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

  • BGData-class

  • geno-class

Examples

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

# Access genotypes
geno(bg)

# Access sample information
pheno(bg)

# Access variant information
map(bg)

Run the code above in your browser using DataLab