BGData: Creates a New BGData Instance

View source: R/BGData.R

BGDataR Documentation

Creates a New BGData Instance

Description

This function constructs a new BGData object.

Usage

BGData(geno, pheno = NULL, map = NULL)

Arguments

geno

A geno object that contains genotypes.

pheno

A data.frame that contains sample information (including phenotypes). A stub that only contains a sample_id column populated with either the rownames of geno or a sequence starting with sample_ will be generated if NULL

map

A data.frame that contains variant information. A stub that only contains a variant_id column populated with either the colnames of geno or a sequence starting with variant_ will be generated if NULL

See Also

BGData-class and geno-class for more information on the above mentioned classes.


BGData documentation built on March 31, 2023, 6:57 p.m.