simData2 {FunctanSNP}R Documentation

Generate simulated data for SNPinter and SNPcvinter

Description

Generate simulated data for users to apply the method SNPinter and SNPcvinter, including response variable y, scalar variable Z and sequence (genotypes) data X.

Usage

simData2(n, m, seed)

Arguments

n

an interger variable specifying the number of samples to be generated.

m

an interger variable specifying the sequence length of each sample.

seed

an integer variable specifyinging the random seed used for random sequence generation.

Value

An "simData2" object that contains the list of the following items.

See Also

See Also as simData1, SNPinter, SNPcvinter.

Examples

library(FunctanSNP)
n <- 300
m <- 30
simdata2 <- simData2(n, m, seed = 123)


[Package FunctanSNP version 0.1.0 Index]