Learn R Programming

geneNetBP (version 2.0.1)

toy: Toy example dataset

Description

Toy example, Simulated data set

Usage

data(toy)

Arguments

Format

The data set toy is a data frame of 500 observations of 9 variables: genotype data (genotype states at 3 SNP markers) and phenotype data (6 variables).Genotypes are of class factor and phenotypes are of class numeric.

Details

The simulated dataset consists of 3 genotypes each with 2 states and 6 phenotypes.

Examples

Run this code
## Not run: 
# # load the data and fit a genotype-phenotype network
# data(toy)
# fit.gnbp(toy[,1:3],toy[,4:9])## End(Not run)

Run the code above in your browser using DataLab