Learn R Programming

geneNetBP (version 1.0.0)

toy: Toy example dataset

Description

Toy example, Simulated data set

Usage

data(toy)

Arguments

format

The data set toy contains the following variables:
  • toygeno
{ a data frame of 500 observations of 3 variables. All column vectors are of class factor} toypheno{ a data frame of 500 observations of 6 variables. All column vectors are of class numeric }

Details

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

Examples

Run this code
# load the data and fit a genotype-phenotype network
data(toy)
fit.gnbp(toygeno,toypheno)

Run the code above in your browser using DataLab