Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

Examples

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

# Access genotypes
geno(bg)

# Access sample information
pheno(bg)

# Access variant information
map(bg)

BGData

A Suite of Packages for Analysis of Big Genomic Data

v2.2.0
MIT + file LICENSE
Authors
Gustavo de los Campos [aut], Alexander Grueneberg [aut, cre], Paulino Perez [ctb], Ana Vazquez [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.