powered by
A set of generic functions for getting/setting the genotypes, sample information, and variant information.
geno(x) geno(x) <- valuepheno(x) pheno(x) <- valuemap(x) map(x) <- value
pheno(x) pheno(x) <- value
map(x) map(x) <- value
The object from/on which to get/set genotypes, sample information, and variant information. Typically a BGData object.
BGData
Typically a geno object for the geno setter.
geno
Typically a data.frame object for the pheno setter.
data.frame
pheno
Typically a data.frame object for the map setter.
map
BGData-class
geno-class
# 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